From: Dana Jansens Date: Sun, 3 Jun 2007 19:49:35 +0000 (+0000) Subject: fix layout of the titlebar label by syscrash X-Git-Tag: release-2.0.2~47 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7cc91beed8521bb812ff7e0b59a49dfc0a991320;p=dana%2Fobconf.git fix layout of the titlebar label by syscrash --- 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;