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:
Martin Nordholts
2007-12-05 20:41:53 +00:00
committed by Martin Nordholts
parent e0035a8efa
commit 9d68c83faa
2 changed files with 11 additions and 2 deletions

View File

@ -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>
* tools/pdbgen/pdb/fileops.pdb: pass the error also to

View File

@ -97,7 +97,8 @@ tool_options_save_to_cmd_callback (GtkAction *action,
gchar *name = g_strdup (gimp_object_get_name (GIMP_OBJECT (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);
}
}
@ -116,7 +117,8 @@ tool_options_restore_from_cmd_callback (GtkAction *action,
if (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