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.

svn path=/trunk/; revision=27762
This commit is contained in:
Martin Nordholts 2008-12-04 20:22:30 +00:00
parent 6f8b354486
commit 073b8ab9d5
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2008-12-04 Martin Nordholts <martinn@svn.gnome.org>
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.
2008-12-04 Martin Nordholts <martinn@svn.gnome.org>
* app/actions/images-actions.c (images_actions_setup): Pass

View File

@ -539,6 +539,13 @@ gimp_display_shell_size_changed_detailed_handler (GimpImage *image,
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);
}
}