mirror of https://github.com/GNOME/gimp.git
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:
parent
6f8b354486
commit
073b8ab9d5
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue