Only care about GIMP_CONFIG_PARAM_SERIALIZE properties, fixes bug #498948.
2007-12-05 Martin Nordholts <martinn@svn.gnome.org> * app/actions/tool-options-commands.c (tool_options_save_to_cmd_callback) (tool_options_restore_from_cmd_callback): Only care about GIMP_CONFIG_PARAM_SERIALIZE properties, fixes bug #498948. svn path=/trunk/; revision=24269
This commit is contained in:

committed by
Martin Nordholts

parent
e0035a8efa
commit
9d68c83faa
@ -1,3 +1,10 @@
|
|||||||
|
2007-12-05 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/actions/tool-options-commands.c
|
||||||
|
(tool_options_save_to_cmd_callback)
|
||||||
|
(tool_options_restore_from_cmd_callback): Only care about
|
||||||
|
GIMP_CONFIG_PARAM_SERIALIZE properties, fixes bug #498948.
|
||||||
|
|
||||||
2007-12-05 Michael Natterer <mitch@gimp.org>
|
2007-12-05 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* tools/pdbgen/pdb/fileops.pdb: pass the error also to
|
* tools/pdbgen/pdb/fileops.pdb: pass the error also to
|
||||||
|
@ -97,7 +97,8 @@ tool_options_save_to_cmd_callback (GtkAction *action,
|
|||||||
gchar *name = g_strdup (gimp_object_get_name (GIMP_OBJECT (options)));
|
gchar *name = g_strdup (gimp_object_get_name (GIMP_OBJECT (options)));
|
||||||
|
|
||||||
gimp_config_sync (G_OBJECT (tool_info->tool_options),
|
gimp_config_sync (G_OBJECT (tool_info->tool_options),
|
||||||
G_OBJECT (options), 0);
|
G_OBJECT (options),
|
||||||
|
GIMP_CONFIG_PARAM_SERIALIZE);
|
||||||
gimp_object_take_name (GIMP_OBJECT (options), name);
|
gimp_object_take_name (GIMP_OBJECT (options), name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +117,8 @@ tool_options_restore_from_cmd_callback (GtkAction *action,
|
|||||||
|
|
||||||
if (options)
|
if (options)
|
||||||
gimp_config_sync (G_OBJECT (options),
|
gimp_config_sync (G_OBJECT (options),
|
||||||
G_OBJECT (tool_info->tool_options), 0);
|
G_OBJECT (tool_info->tool_options),
|
||||||
|
GIMP_CONFIG_PARAM_SERIALIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user