mirror of https://github.com/GNOME/gimp.git
Bug 558215 – unit and zoom entries in Statusbar not visible
* app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_canvas_size_allocate): Don't try to be clever, call gimp_display_shell_scaled() whenever the canvas size changes so a newly created display shell gets updated properly. svn path=/trunk/; revision=27469
This commit is contained in:
parent
b1ff252ca9
commit
31e64dace0
|
@ -1,3 +1,12 @@
|
|||
2008-10-29 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
Bug 558215 – unit and zoom entries in Statusbar not visible
|
||||
|
||||
* app/display/gimpdisplayshell-callbacks.c
|
||||
(gimp_display_shell_canvas_size_allocate): Don't try to be clever,
|
||||
call gimp_display_shell_scaled() whenever the canvas size changes
|
||||
so a newly created display shell gets updated properly.
|
||||
|
||||
2008-10-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Bug 558451 – Cannot build GIMP using Sun CC on Solaris 2.8
|
||||
|
|
|
@ -296,7 +296,6 @@ gimp_display_shell_canvas_size_allocate (GtkWidget *widget,
|
|||
offset_y = UNSCALEX (shell, shell->offset_y);
|
||||
|
||||
gimp_zoom_model_zoom (shell->zoom, GIMP_ZOOM_TO, scale);
|
||||
gimp_display_shell_scaled (shell);
|
||||
|
||||
shell->offset_x = SCALEX (shell, offset_x);
|
||||
shell->offset_y = SCALEY (shell, offset_y);
|
||||
|
@ -351,6 +350,7 @@ gimp_display_shell_canvas_size_allocate (GtkWidget *widget,
|
|||
}
|
||||
|
||||
gimp_display_shell_scroll_clamp_and_update (shell);
|
||||
gimp_display_shell_scaled (shell);
|
||||
|
||||
/* Reset */
|
||||
shell->size_allocate_from_configure_event = FALSE;
|
||||
|
|
Loading…
Reference in New Issue