mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
work around a canvas size bug by setting an empty text to the progressbar.
2003-01-08 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c (gimp_statusbar_init): work around a canvas size bug by setting an empty text to the progressbar.
This commit is contained in:
parent
d6cae83513
commit
ae6d4bf927
|
@ -1,3 +1,8 @@
|
|||
2003-01-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/display/gimpstatusbar.c (gimp_statusbar_init): work around a
|
||||
canvas size bug by setting an empty text to the progressbar.
|
||||
|
||||
2003-01-07 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* libgimpwidgets/Makefile.am: add gimpmemsizeentry.h to HEADERS
|
||||
|
|
|
@ -134,6 +134,18 @@ gimp_statusbar_init (GimpStatusbar *statusbar)
|
|||
gtk_widget_set_sensitive (statusbar->cancelbutton, FALSE);
|
||||
gtk_box_pack_start (box, statusbar->cancelbutton, FALSE, FALSE, 0);
|
||||
gtk_widget_show (statusbar->cancelbutton);
|
||||
|
||||
|
||||
/* Update the statusbar once to work around a resizing bug(?) in GTK+:
|
||||
*
|
||||
* The first update of the statusbar used to queue a resize which
|
||||
* in term caused the canvas to be resized. That made it shrink by
|
||||
* one pixel in height resulting in the last row not being displayed.
|
||||
* Shrink-wrapping the display used to fix this reliably. With the
|
||||
* next call the resize doesn't seem to happen any longer.
|
||||
*/
|
||||
|
||||
gimp_statusbar_update (statusbar, 0, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue