From 7cc91beed8521bb812ff7e0b59a49dfc0a991320 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 3 Jun 2007 19:49:35 +0000 Subject: [PATCH] fix layout of the titlebar label by syscrash --- src/preview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/preview.c b/src/preview.c index f8ca248..1869dff 100644 --- a/src/preview.c +++ b/src/preview.c @@ -294,7 +294,7 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout, a->surface.parent = title; a->surface.parentx = x - theme->fbwidth; - a->surface.parenty = theme->paddingy + 1; + a->surface.parenty = theme->paddingy; w = h = theme->button_size + 2; @@ -311,7 +311,7 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout, a->surface.parent = title; a->surface.parentx = x - theme->fbwidth; - a->surface.parenty = theme->paddingy + 1; + a->surface.parenty = theme->paddingy; w = label_w; h = theme->label_height; @@ -356,7 +356,7 @@ static GdkPixbuf* preview_window(RrTheme *theme, const gchar *titlelayout, a->surface.parent = title; a->surface.parentx = x - theme->fbwidth; - a->surface.parenty = theme->paddingy + 1; + a->surface.parenty = theme->paddingy; w = theme->button_size; h = theme->button_size; -- 2.39.2