gimp r27762 - in trunk: . app/display



Author: martinn
Date: Thu Dec  4 20:22:30 2008
New Revision: 27762
URL: http://svn.gnome.org/viewvc/gimp?rev=27762&view=rev

Log:
Bug 563179 â Scrollbars not resized when we extend the canvas size

* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_size_changed_detailed_handler): Add explicit
call to gimp_display_shell_scroll_clamp_and_update() at the end to
make sure it is called.


Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-handlers.c

Modified: trunk/app/display/gimpdisplayshell-handlers.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-handlers.c	(original)
+++ trunk/app/display/gimpdisplayshell-handlers.c	Thu Dec  4 20:22:30 2008
@@ -539,6 +539,13 @@
                                             shell->offset_y + scaled_previous_origin_y);
 
       gimp_display_shell_scroll_center_image (shell, horizontally, vertically);
+
+      /* The above calls might not lead to a call to
+       * gimp_display_shell_scroll_clamp_and_update() in all cases we
+       * need it to be called, so simply call it explicitly here at
+       * the end
+       */
+      gimp_display_shell_scroll_clamp_and_update (shell);
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]