gimp r27720 - in trunk: . app/dialogs
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27720 - in trunk: . app/dialogs
- Date: Wed, 26 Nov 2008 19:15:27 +0000 (UTC)
Author: martinn
Date: Wed Nov 26 19:15:27 2008
New Revision: 27720
URL: http://svn.gnome.org/viewvc/gimp?rev=27720&view=rev
Log:
Bug 562366 â Default image dimensions are not correctly
transferred in the file/new dialog box
* app/dialogs/preferences-dialog.c
(prefs_template_select_callback): We need to copy the template in
the same way as in the New Image dialog.
Modified:
trunk/ChangeLog
trunk/app/dialogs/preferences-dialog.c
Modified: trunk/app/dialogs/preferences-dialog.c
==============================================================================
--- trunk/app/dialogs/preferences-dialog.c (original)
+++ trunk/app/dialogs/preferences-dialog.c Wed Nov 26 19:15:27 2008
@@ -425,7 +425,13 @@
GimpTemplate *edit_template)
{
if (template)
- gimp_config_sync (G_OBJECT (template), G_OBJECT (edit_template), 0);
+ {
+ /* make sure the resolution values are copied first (see bug #546924) */
+ gimp_config_sync (G_OBJECT (template), G_OBJECT (edit_template),
+ GIMP_TEMPLATE_PARAM_COPY_FIRST);
+ gimp_config_sync (G_OBJECT (template), G_OBJECT (edit_template),
+ 0);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]