gimp/app/config
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
..
.cvsignore Changed my mind again and decided that gimpconfig-dump should create 2003-01-13 10:57:40 +00:00
Makefile.am app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
config-types.h app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimpbaseconfig.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpbaseconfig.h Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +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-dump.c app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +00:00
gimpconfig-params.c always build gimpconfig-dump. 2003-01-11 01:31:22 +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-types.c renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for 2002-05-29 09:20:56 +00:00
gimpconfig-types.h renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for 2002-05-29 09:20:56 +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
gimpconfig.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpconfig.h app/config/Makefile.am new files featuring a simple config file writer. 2003-03-05 20:21:50 +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
gimpcoreconfig.c added "gchar *default_font". and its blurb. 2003-03-25 22:06:03 +00:00
gimpcoreconfig.h added "gchar *default_font". and its blurb. 2003-03-25 22:06:03 +00:00
gimpdisplayconfig.c added gboolean show_scrollbars to be consistent with show_menubar etc. 2003-04-01 11:04:44 +00:00
gimpdisplayconfig.h added gboolean show_scrollbars to be consistent with show_menubar etc. 2003-04-01 11:04:44 +00:00
gimpguiconfig.c app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
gimpguiconfig.h app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
gimppluginconfig.c always build gimpconfig-dump. 2003-01-11 01:31:22 +00:00
gimppluginconfig.h app/config/gimppluginconfig.[ch] added "script-fu-path" back to gimprc. 2002-12-30 01:28:47 +00:00
gimprc-blurbs.h app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean 2003-04-08 10:02:42 +00:00
gimprc.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimprc.h app/config/Makefile.am new files that define plug-in specific 2002-12-29 23:23:35 +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
makefile.msc when checking for 'excecutable' make sure it is a regular file too (on 2003-01-01 13:33:27 +00:00
test-config.c added the new function gimp_config_string_append_escaped(), see inline 2003-03-17 14:23:42 +00:00