gimp/libgimpconfig
Michael Natterer f82440ff48 made object properties G_PARAM_READWRITE by default. Added flag
2003-04-12  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-params.h: made object properties
	G_PARAM_READWRITE by default. Added flag GIMP_PARAM_AGGREGATE
	which indicates that an object property is not a reference but a
	real part of its owner.

	* app/config/gimpconfig-deserialize.c: g_object_set_property()
	object properties only if they are not GIMP_PARAM_AGGREGATE.

	* app/config/gimpconfig-utils.c (gimp_config_copy_properties,
	gimp_config_reset_properties): copy and reset GIMP_PARAM_AGGREGATE
	object properties correctly.

	* app/config/gimpconfig-serialize.c: don't call
	gimp_config_writer_open/close() for properties which are handled
	by a GimpConfigIface::serialize_property() implementation.

	* app/core/gimpcontext.c: removed exlicit G_PARAM_WRITABLE from
	object properties since that's the default now. Call
	gimp_config_writer_open/close() when serializing properties.

	* app/core/gimpviewable.c (gimp_viewable_get_property): use
	gimp_viewable_get_stock_id().
	(gimp_viewable_set_stock_id): set stock_id to NULL if the new
	stock_id is the same as viewable_class->default_stock_id.
	Added serialize_property() which skips stock_id serialization
	if it is NULL.

	* app/tools/gimptextoptions.c: made the "text" property
	GIMP_PARAM_AGGREGATE. Added gimp_text_options_set_property()
	(which does nothing).

	* app/widgets/gimptemplateeditor.[ch]: added an optional
	GimpViewableButton to change the template's icon.

	* app/gui/file-new-dialog.c: create it with the icon button so it
	gets some testing.
2003-04-12 19:06:25 +00:00
..
gimpconfig-deserialize.c made object properties G_PARAM_READWRITE by default. Added flag 2003-04-12 19:06:25 +00:00
gimpconfig-deserialize.h added "gint nest_level" to the deserialization functions, so nested calls 2002-05-27 14:04:21 +00:00
gimpconfig-iface.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpconfig-iface.h app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimpconfig-params.h made object properties G_PARAM_READWRITE by default. Added flag 2003-04-12 19:06:25 +00:00
gimpconfig-path.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpconfig-path.h configure.in etc/Makefile.am etc/gimprc.in removed templates for gimprc 2002-12-29 18:58:24 +00:00
gimpconfig-serialize.c made object properties G_PARAM_READWRITE by default. Added flag 2003-04-12 19:06:25 +00:00
gimpconfig-serialize.h app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimpconfig-utils.c made object properties G_PARAM_READWRITE by default. Added flag 2003-04-12 19:06:25 +00:00
gimpconfig-utils.h added the new function gimp_config_string_append_escaped(), see inline 2003-03-17 14:23:42 +00:00
gimpconfigwriter.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpconfigwriter.h fixed creation of config file, added new function 2003-03-10 15:48:16 +00:00
gimpscanner.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpscanner.h removed gimp_scanner_parse_string_list() since the format it read wasn't 2003-03-10 19:01:07 +00:00