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. svn path=/trunk/; revision=27720
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2008-11-26 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
2008-11-26 Sven Neumann <sven@gimp.org>
|
2008-11-26 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpimage-duplicate.c: split spaghetti code into lots
|
* app/core/gimpimage-duplicate.c: split spaghetti code into lots
|
||||||
|
@ -425,7 +425,13 @@ prefs_template_select_callback (GimpContainerView *view,
|
|||||||
GimpTemplate *edit_template)
|
GimpTemplate *edit_template)
|
||||||
{
|
{
|
||||||
if (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
|
static void
|
||||||
|
Reference in New Issue
Block a user