gimp r26592 - in trunk: . app/actions
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26592 - in trunk: . app/actions
- Date: Sat, 16 Aug 2008 13:53:18 +0000 (UTC)
Author: martinn
Date: Sat Aug 16 13:53:18 2008
New Revision: 26592
URL: http://svn.gnome.org/viewvc/gimp?rev=26592&view=rev
Log:
2008-08-16 Martin Nordholts <martinn svn gnome org>
* app/actions/view-commands.c (view_shrink_wrap_cmd_callback):
Also handle the case when only the offset is wrong. Not pretty but
simple.
Modified:
trunk/ChangeLog
trunk/app/actions/view-commands.c
Modified: trunk/app/actions/view-commands.c
==============================================================================
--- trunk/app/actions/view-commands.c (original)
+++ trunk/app/actions/view-commands.c Sat Aug 16 13:53:18 2008
@@ -641,6 +641,10 @@
gimp_display_shell_scale_shrink_wrap (shell,
FALSE);
+ /* Handle if only the offset of wrong */
+ gimp_display_shell_scroll_center_image (shell, TRUE, TRUE);
+
+ /* Handle if the display shell canvas is wrong */
gimp_display_shell_scroll_center_image_on_next_size_allocate (shell);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]