Commit 073b8ab9 authored by Martin Nordholts's avatar Martin Nordholts

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
parent 6f8b3544
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
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment