Commit graph

67 commits

Author SHA1 Message Date
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
Richard Hestilow
ec08294088 Committed patches by Lauris Kaplinski for bugs 73571, 73587, and 71613.
2002-03-11  Richard Hestilow <hestilow@ximian.com>

	* Committed patches by Lauris Kaplinski for bugs 73571, 73587,
	and 71613.
2002-03-12 01:35:40 +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
31ac49063f Committed instant-apply patch sans background.
2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
2002-02-12 06:16:11 +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
Laszlo Peter
a02d04c48b s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28  Laszlo Peter  <laca@ireland.sun.com>

	* archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/
	* capplets/common/capplet-util.c: ditto
	* capplets/common/capplet-util.h: ditto
	* libbackground/preferences.c: ditto
	* applets/common/wrapper-script.in: change "test $x == y" to
	  "test $x = y" for portability
2002-01-28 19:55:29 +00:00
Jonathan Blandford
d56503be2a Move locate_pointer out.
Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
2002-01-21 06:38:45 +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
Gediminas Paulauskas
9f8ed1254f retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09  Gediminas Paulauskas <menesis@delfi.lt>

	* *.c (main): retrieve translation in utf-8 codeset. Do not
	setlocale ().
	* some Makefile.am (INCLUDES): remove intl.
	(..._LDADD): remove INTLLIBS
2001-12-09 12:23:40 +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 (Gdict maintainer)
6c64f8853e Added missing wrapper-script.in 2001-10-01 14:15:20 +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
Bradford Hovinen
4937798114 Remove IMLIB check (GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression
2001-07-25  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Remove IMLIB check
	(GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression to cover
	macro DESKTOP_EXEC_LINE
	(LIBCOMMON_DIR): Add option --enable-bonobo-conf

	* all: Added support for optionally compiling without bonobo-conf enabled
2001-07-25 17:26:17 +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
Bradford Hovinen
4c1bd422e2 Reenable disabled code (quit_cb): Put the db an id objects in a pair
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (real_quit_cb): Reenable disabled code
	(quit_cb): Put the db an id objects in a pair structure and pass
	that to the callback
	(real_quit_cb): Extract the db and id objects from the pair
	(create_control_cb): Set up listener for sync event rather than
	change event
2001-07-24 22:52:59 +00:00
Bradford Hovinen
c721616af0 Reenable disabled code (quit_cb): Put the db an id objects in a pair
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (real_quit_cb): Reenable disabled code
	(quit_cb): Put the db an id objects in a pair structure and pass
	that to the callback
	(real_quit_cb): Extract the db and id objects from the pair
2001-07-24 20:19:35 +00:00