gimp r27469 - in trunk: . app/display
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27469 - in trunk: . app/display
- Date: Wed, 29 Oct 2008 22:28:48 +0000 (UTC)
Author: martinn
Date: Wed Oct 29 22:28:48 2008
New Revision: 27469
URL: http://svn.gnome.org/viewvc/gimp?rev=27469&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-callbacks.c
Modified: trunk/app/display/gimpdisplayshell-callbacks.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-callbacks.c (original)
+++ trunk/app/display/gimpdisplayshell-callbacks.c Wed Oct 29 22:28:48 2008
@@ -296,7 +296,6 @@
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_scroll_clamp_and_update (shell);
+ gimp_display_shell_scaled (shell);
/* Reset */
shell->size_allocate_from_configure_event = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]