gimp r26472 - in trunk: . app/actions
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26472 - in trunk: . app/actions
- Date: Sun, 10 Aug 2008 07:40:03 +0000 (UTC)
Author: martinn
Date: Sun Aug 10 07:40:03 2008
New Revision: 26472
URL: http://svn.gnome.org/viewvc/gimp?rev=26472&view=rev
Log:
2008-08-10 Martin Nordholts <martinn svn gnome org>
* app/actions/view-commands.c (view_shrink_wrap_cmd_callback): We
need to center the image after a Shrink Wrap.
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 Sun Aug 10 07:40:03 2008
@@ -38,6 +38,7 @@
#include "display/gimpdisplayshell-appearance.h"
#include "display/gimpdisplayshell-filter-dialog.h"
#include "display/gimpdisplayshell-scale.h"
+#include "display/gimpdisplayshell-scroll.h"
#include "widgets/gimpactiongroup.h"
#include "widgets/gimpcolordialog.h"
@@ -631,10 +632,15 @@
gpointer data)
{
GimpDisplay *display;
+ GimpDisplayShell *shell;
return_if_no_display (display, data);
- gimp_display_shell_scale_shrink_wrap (GIMP_DISPLAY_SHELL (display->shell),
+ shell = GIMP_DISPLAY_SHELL (display->shell);
+
+ gimp_display_shell_scale_shrink_wrap (shell,
FALSE);
+
+ gimp_display_shell_scroll_center_image_on_next_size_allocate (shell);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]