app: don't reserve a height for the statusbar label's icon

Reserve only a width. The height gets ignored by GTK+ 2.x and breaks
layout positioning in GTK+ 3.x which uses pango-cairo for all text
rendering.
This commit is contained in:
Michael Natterer
2010-10-29 10:31:04 +02:00
parent dcdc09872d
commit 59a4e70b86

View File

@ -606,7 +606,7 @@ gimp_statusbar_set_text (GimpStatusbar *statusbar,
rect.y = 0;
rect.width = PANGO_SCALE * (gdk_pixbuf_get_width (statusbar->icon) +
ICON_SPACING);
rect.height = PANGO_SCALE * gdk_pixbuf_get_height (statusbar->icon);
rect.height = 0;
attrs = pango_attr_list_new ();