Commit graph

217 commits

Author SHA1 Message Date
Mark McLoughlin
200282b7e0 add capplets/gnome-network-preferences.
2002-04-19  Mark McLoughlin  <mark@skynet.ie>

        * capplets/Makefile.am, configure.in: add
        capplets/gnome-network-preferences.

2002-04-19  Mark McLoughlin  <mark@skynet.ie>

        * gconf-property-editor.[ch]: (peditor_integer_value_changed),
        (peditor_integer_widget_changed), (gconf_peditor_new_integer_valist),
        (gconf_peditor_new_integer): implement GtkEntry based integer
        peditor.

2002-04-22  Mark McLoughlin  <mark@skynet.ie>

        * POTFILES.in: add network preferences capplet
        files.
2002-04-22 17:49:22 +00:00
Rachel Hestilow
702d06c8f8 Add in an explicit 'use_nick' parameter. Implicit guessing can break badly
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.c
	(gconf_peditor_new_select_menu_with_enum,
	 gconf_peditor_new_enum_toggle,
	 gconf_peditor_new_select_radio_with_enum): Add in an explicit
	 'use_nick' parameter. Implicit guessing can break badly if
	 the gconf data gets corrupted.
	(peditor_enum_int_from_string): Change use_nick to copy-by-value,
	do not try to guess it.
	(peditor_enum_conv_to_widget, guard_get_bool,
	 peditor_enum_toggle_conv_to_widget): Do not pass in use_nick
	 as a reference.
2002-04-22 01:26:59 +00:00
Jonathan Blandford
52aec43671 handle new theme-changing code, and sort code. Thu Apr 18 17:56:12 2002
Thu Apr 18 19:35:42 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-font-and-theme-properties.c (setup_dialog): handle new
	theme-changing code, and sort code.
Thu Apr 18 17:56:12 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-keybinding-properties.c (theme_changed_func): handle new
	theme-changeing code.
Thu Apr 18 17:56:25 2002  Jonathan Blandford  <jrb@redhat.com>

	* theme-common.c: Notify when the theme changes.
2002-04-18 23:36:45 +00:00
Jody Goldberg
d9f1844c30 message dialogs must have separators.
2002-04-18  Jody Goldberg <jody@gnome.org>

	* activate-settings-daemon.c (static) : message dialogs must have
	  separators.
2002-04-18 14:41:21 +00:00
Rachel Hestilow
ef4591f5fb Add FontType enum, and a font_type parameter to gconf_peditor_new_font.
2002-04-10  Rachel Hestilow  <hestilow@ximian.com>

	* gconf-proprerty-editor.h: Add FontType enum, and a font_type
	parameter to gconf_peditor_new_font.

	* gconf-property-editor.c:
	(peditor_font_value_changed): Call peditor_font_merge_setting
	instead of setting the properties explicitly.
	(peditor_font_widget_changed): Switch on font_type to determine
	what to set for a GConfValue.
2002-04-11 01:41:17 +00:00
Richard Hestilow
ad88cdbaba Set fsel to modal, it seems to fix a weird grabbing bug.
2002-03-28  Richard Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.c (peditor_image_clicked_cb): Set
	fsel to modal, it seems to fix a weird grabbing bug.
2002-03-28 23:54:34 +00:00
Kjartan Maraas
aceada3be1 Fix a string.
2003-03-26  Kjartan Maraas  <kmaraas@gnome.org>

	* activate-settings-daemon.c: Fix a string.
2002-03-26 08:24:04 +00:00
Lauris Kaplinski
8835f45c62 Fail verbosely instead of silent crashing on certain missing/broken schemas 2002-03-25 22:27:54 +00:00
Richard Hestilow
be50597a25 Link to common.la and not common.a.
2002-03-19  Richard Hestilow  <hestilow@ximian.com>

	* configure.in (COMMON_LIBS): Link to common.la and not common.a.
2002-03-20 03:30:11 +00:00
Kjartan Maraas
e9b57b010f Mark a string. #include <config.h>
2002-03-17  Kjartan Maraas  <kmaraas@gnome.org>

	* activate-settings-daemon.c: Mark a string. #include <config.h>
2002-03-17 22:15:14 +00:00
Jonathan Blandford
ac9331cf2b Add new Makefiles ditto Add keybindings dialog
2002-03-17  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am: Add new Makefiles
	* configure.in: ditto
	* capplets/Makefile.am: Add keybindings dialog

	* capplets/keybindings/.cvsignore: shut up CVS

	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/eggcellrendererkeys.c:
	* capplets/keybindings/eggcellrendererkeys.h:
	* capplets/keybindings/gnome-keybinding-properties.c:
	* capplets/keybindings/gnome-keybinding-properties.glade:
	* capplets/keybindings/keybinding.desktop.in:
	New properties dialog.  Seems to work

	* schemas/.cvsignore: shut up CVS

	* schemas/Makefile.am:
	* schemas/apps_gnome_keybinding_properties.schemas: New schemas
	file for configuring the keybinding schemas.
	* schemas/background.schemas: Remove unneeded schemas files
	* schemas/peripherals.schemas:
	* schemas/screensaver.schemas:
2002-03-17 21:27:09 +00:00
Richard Hestilow
c10c6c06ce Committed new schemas patch.
2002-03-14  Richard Hestilow  <hestilow@ximian.com>

	* Committed new schemas patch.
2002-03-15 03:56:44 +00:00
Seth Nickell
006261e341 Add new client interface for activating the settings daemon if its not
2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* activate-settings-daemon.c: (popup_error_message),
	(activate_settings_daemon):
	* activate-settings-daemon.h:

	Add new client interface for activating the settings daemon
	if its not already running.
2002-03-11 01:45:11 +00:00
Kjartan Maraas
06e9c965a8 s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* capplet-util.c: s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27 22:13:26 +00:00
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +00:00
Richard Hestilow
94370f5702 Added font editor.
2002-02-10  Richard Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.[ch]: Added font editor.
2002-02-10 07:39:40 +00:00
Jonathan Blandford
63c1b1daaf avoid recursive loops by only setting the UI if we're active.
Sun Jan  6 02:52:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* gconf-property-editor.c (peditor_select_radio_widget_changed):
	avoid recursive loops by only setting the UI if we're active.
2002-01-06 07:55:41 +00:00
Bradford Hovinen
1bd61a6bdb Only remove from changeset if the changeset is non-NULL
2002-01-05  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_*_value_changed): Only remove
	from changeset if the changeset is non-NULL
2002-01-05 20:39:03 +00:00
Bradford Hovinen
68257fcb34 Implement. Sets the GConf value either in the changeset, or if changeset
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_set_gconf_value):
	Implement. Sets the GConf value either in the changeset, or if
	changeset is NULL, directly
	(peditor_*_widget_changed): Use peditor_set_gconf_value
	(gconf_peditor_new_*): Don't complain if changeset is NULL
2002-01-04 20:48:17 +00:00
Bradford Hovinen
bc02837644 Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Eliminate compiler warnings

	* capplet-util.c: Eliminate compiler warnings
2001-12-20 20:21:39 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new): Fold the callback
	back in; accept variable argument list with extra parameters
	(gconf_peditor_new_filename): Return the property editor
	(gconf_peditor_new_string_valist): Split this out
	(gconf_peditor_new_string): Call _valist variant
	(gconf_peditor_new*): Update

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +00:00
Bradford Hovinen
e6e398cbae Return FALSE (peditor_*_widget_changed): Just return if we are not fully
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (init_widget_cb): Return FALSE
	(peditor_*_widget_changed): Just return if we are not fully
	initialized
	(init_widget_cb): Set initialized flag
	(struct _GConfPropertyEditorPrivate): Add inited
2001-12-19 20:44:11 +00:00
Bradford Hovinen
9ec85dedd5 Connect to value_changed signal Add properties conv-{to|from}-widget-cb
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal Add
	properties conv-{to|from}-widget-cb and use those for conversion
	of values to and from the widget
	(peditor_{int|float}_range_value_changed, friends): Combine into
	peditor_numeric_*
	(gconf_peditor_new): Implement. Factor out some common code from
	the various type-specific constructors
	(peditor_*_value_changed): Don't check if the value is the same as
	what is already in the widget; it's not very important
	(peditor_*_value_changed): Remove the key from the changeset
	(gconf_peditor_new_*): Add g_return_val_if_fail macros
	(gconf_peditor_widget_set_guard): Add g_return_if_fail macros
	(gconf_value_float_to_int, gconf_value_int_to_float): Implement
	(gconf_property_editor_set_prop): Store the callback in the
	property editor proper
	(gconf_peditor_new): Put initialization code in an idle handler

	* gconf-property-editor.c: Add ui-control property storing the
	object (normally a widget) that controls the property; remove
	object property and replace its function with ui-control
2001-12-19 20:19:03 +00:00
Bradford Hovinen
3cacd8d820 Connect to value_changed signal
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal

	* capplet-util.c: Comment out most of this file

	* gconf-property-editor.c (gconf_peditor_new_int_range): Convert
	to ~_float_range
	(gconf_peditor_new_float_range): Add callbacks for conversion
	between widget's values and GConf values in the signature
	(peditor_float_range_widget_changed): Issue callback, if
	available, to convert from widget's values to GConf values
	(peditor_float_range_value_changed): Vice verca above
	(gconf_peditor_new_int_range, peditor_int_range_widget_changed)
	(peditor_int_range_value_changed): Implement. Copy from float
	versions
2001-12-19 14:53:59 +00:00
Bradford Hovinen
f1aa0eed71 Don't #include bonobo*.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.h: Don't #include bonobo*.h
2001-12-18 21:13:16 +00:00
Bradford Hovinen
0f7c418ab1 Implement
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_int_range_value_changed)
	(peditor_int_range_widget_changed, gconf_peditor_new_int_range):
	Implement
2001-12-18 19:37:49 +00:00
Bradford Hovinen
1efa46f928 Use gconf_client rather than gconf_engine
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Use gconf_client rather than
	gconf_engine
2001-12-18 16:39:55 +00:00
Bradford Hovinen
26aba8a5e3 Use actual signature for the changed signal
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_string_widget_changed): Use
	actual signature for the changed signal
2001-12-18 16:18:35 +00:00
Bradford Hovinen
250f23b97b Work correctly with multiple callback signatures
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_string_widget_changed):
	Work correctly with multiple callback signatures
	(gconf_peditor_new_string): Use changed signal
2001-12-17 19:32:15 +00:00
Bradford Hovinen
ac131fc554 Use gtk_option_menu_set_history
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_select_menu_value_changed):
	Use gtk_option_menu_set_history
2001-12-17 18:23:18 +00:00
Bradford Hovinen
aa5de9e7cc Implement (peditor_color_widget_changed): Use correct signature for the
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_property_editor_get_key):
	Implement
	(peditor_color_widget_changed): Use correct signature for the
	signal handler
2001-12-17 18:18:22 +00:00
Bradford Hovinen
1f7b8868df Use a local stack variable for the color rather than a pointer. Duh.
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_color_value_changed): Use a
	local stack variable for the color rather than a pointer. Duh.
2001-12-17 14:41:33 +00:00
Bradford Hovinen
4703f9f1a1 Make sure value is non-NULL
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_*_value_changed): Make sure
	value is non-NULL
2001-12-07 19:33:40 +00:00
Bradford Hovinen
e3e6ee216f Make the changeset property a pointer (gconf_property_editor_set_prop):
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_property_editor_class_init):
	Make the changeset property a pointer
	(gconf_property_editor_set_prop): Use g_value_get_object for the
	destroy notify object
2001-12-07 19:15:14 +00:00
Bradford Hovinen
bb8f864104 Terminate the parameter list passed to g_object_new with NULL
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_*): Terminate the
	parameter list passed to g_object_new with NULL
2001-12-07 17:38:07 +00:00
Bradford Hovinen
5ac70e7b71 Use correct ordering of setup
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_property_editor_class_init): Use
	correct ordering of setup
2001-12-07 17:28:28 +00:00
Bradford Hovinen (Gdict maintainer)
d3133da76a GNOME 2.0 port. Changes too numerous to mention.
Removed bonobo-conf support entirely. Added simple GConf-based
property editors. These will be replaced by PonG when that gets
ported.
2001-11-10 20:52:31 +00:00
Bradford Hovinen
fd0dba5cec Update listener name
2001-10-18  Bradford Hovinen  <hovinen@ximian.com>

	* Bonobo_Control_Capplet_generic.oaf.in: Update listener name

	* capplet-util.c (create_control_cb): Use correct prefix for listener
2001-10-18 13:36:25 +00:00
Bradford Hovinen
4b6d9f7f99 Try to resolve a listener to make sure that something is listening when we
2001-10-13  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (real_sync): Try to resolve a listener
	to make sure that something is listening when we issue the sync
	event (disabled for now)
	(get_listener_oafiid): Implement (disabled for now)

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_factory_name): Updated factory name to
	reflect new, expanded roles

	* Bonobo_Control_Capplet_generic.oaf.in: Create

2001-09-29  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_control_cb): Elimite reference counter --
	it's not necessary
	(create_control_cb): Make this a multi-factory so that we can
	return the listener when needed
	(capplet_init): Set up the listener here rather than in
	get_control_cb; also remove the listener and unref the database
	here
	(quit_cb, real_quit_cb): Remove (thank the gods)

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am ($(oaffile)): Make creation of the .oaf file generic

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Unref the property bag
	when we are done
2001-10-13 17:26:48 +00:00
Bradford Hovinen
a850f20fa7 Remove -control from the end of the string as well as -capplet
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_default_moniker): Remove -control from the
	end of the string as well as -capplet
	(get_factory_name): Ditto
	(get_property_name): Ditto

	* capplets/*/Makefile.am: Change the binary name to
	*-properties-control and create a wrapper script from
	../common/wrapper-script.in to be named
	*-properties-capplet
	Remove support for disabling bonobo-conf build
2001-09-28 12:30:35 +00:00
Bradford Hovinen
b4d4a62dbb Improved error checking and cleaned up the logic a bit
2001-09-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (legacy_is_modified): Improved error checking and
	cleaned up the logic a bit
2001-09-25 01:40:39 +00:00
Bradford Hovinen
a6802d47af Don't call setup_cb after the first time
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

        * capplet-util.c (set_moniker_cb): Don't call setup_cb after the
        first time
2001-09-22 23:30:40 +00:00
Bradford Hovinen
cd3e448631 Free the full moniker to correct memory leak (set_moniker_cb): Disconnect
2001-09-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Free the full moniker to
	correct memory leak
	(set_moniker_cb): Disconnect old signal handler
2001-09-12 15:35:44 +00:00
Bradford Hovinen (Gdict maintainer)
4e6a3b89d6 Added CORBA interface to the archiver 2001-08-20 15:47:57 +00:00
Bradford Hovinen
8973e3d6be Call setup_session_mgmt if --apply or --init-session-settings was passed
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (capplet_init): Call setup_session_mgmt if --apply or
	--init-session-settings was passed
2001-07-30 15:17:29 +00:00
Bradford Hovinen
33b3809115 1.5.2
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* RELEASE : 1.5.2
2001-07-27 16:02:08 +00:00
Bradford Hovinen
a057d3d097 Don't sync the database if retrieving legacy setings before creating the
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (capplet_init): Don't sync the database if
	retrieving legacy setings before creating the factory
	(create_control_cb): Create the config database ourselves
	(pf_destroy_cb): Remove evil hackery
	(get_control_cb): Ditto
	(create_control_cb): Support multiple property control objects --
	use a GtkObject called ref_obj to make sure the program quits when
	there are no such objects left
	(capplet_init): Pass default_moniker to factory callback;
	release_unref the db ourselves
	(get_control_cb): Support multiple controls; soak in global
	control and widget variables
	(legacy_is_modified): Remember to unref the property bag
	(quit_cb): Allow being called more than once
	(quit_cb): Unref ref_obj here
	(create_control_cb): Eliminate second signal connection
	(real_quit_cb): Free the pair structure
	(all_done_cb): Implement. Just add gtk_main_quit to the idle
	handler list
	(create_control_cb): Connect destroy signal of ref_obj to
	all_done_cb
2001-07-26 19:56:56 +00:00
Richard Hestilow
80b5aabaf0 Set control data on PropertyFrame as part of evil hack. (quit_cb): Work if
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.c (get_control_cb): Set control data on PropertyFrame
	as part of evil hack.
	(quit_cb): Work if called multiple times...also evil.
	(pf_destroy_cb): unref the control...evil evil evil.
2001-07-25 08:52:04 +00:00
Richard Hestilow
3c04c60a09 Remove debugging cruft. (capplet_init): Check for legacy with
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.c: Remove debugging cruft.
	(capplet_init): Check for legacy with --init-session-settings too.
2001-07-25 05:31:30 +00:00
Richard Hestilow
29095b8349 New argument of legacy files to check for changes.
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.[ch] (capplet_init): New argument of legacy files to
	check for changes.

	* capplet-util.c (legacy_is_modified): New function that checks
	a legacy file against the archiver modification date.
	(capplet_init): Pass legacy_files to legacy_is_modified, and sync
	our database with the legacy one if one has been.
2001-07-25 03:10:58 +00:00