Commit graph

8 commits

Author SHA1 Message Date
Rodrigo Moya
bdf94c17e1 declare a global GConfClient. (main): unref the global GConfClient.
2005-10-16  Rodrigo Moya <rodrigo@novell.com>

	* factory.c: declare a global GConfClient.
	(main): unref the global GConfClient.

	* gnome-settings-daemon.[ch] (gnome_settings_daemon_get_conf_client):
	new function to use the same GConfClient everywhere.
	(gnome_settings_daemon_new): use the global GConfClient.

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf,
	ax_response_callback, set_gconf_from_server):
	* gnome-settings-gtk1theme.c (apply_settings):
	* gnome-settings-keybindings.c (bindings_get_entry):
	* gnome-settings-keyboard.c (numlock_get_gconf_state,
	numlock_set_gconf_state, apply_settings):
	* gnome-settings-keyboard-xkb.c (apply_xkb_settings,
	gnome_settings_keyboard_xkb_sysconfig_changed_response,
	gnome_settings_keyboard_xkb_analyze_sysconfig,
	gnome_settings_chk_file_list):
	* gnome-settings-screensaver.c (key_toggled_cb,
	really_start_screensaver):
	* gnome-settings-sound.c (apply_settings):
	* gnome-settings-xmodmap.c (check_button_callback,
	gnome_settings_load_modmap_files, remove_button_clicked_callback,
	load_button_clicked_callback, gnome_settings_modmap_dialog_call):
	* gnome-settings-xsettings.c (xft_callback):
	use the global GConfClient.

	* gnome-settings-keyboard-xkb.c (gnome_settings_keyboard_xkb_load):
	don't get another GConfClient when we're getting one passed!
2005-10-17 14:53:19 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Jonathan Blandford
1f239d9a03 handle xcursor so that we support Xcursor files.
Thu Feb  6 16:43:33 2003  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c (load_xcursor_theme): handle xcursor so
	that we support Xcursor files.

	* gnome-settings-daemon.c: move
	gnome_settings_daemon_spawn_with_input here so multiple modules
	can use it.
2003-02-06 21:47:00 +00:00
Seth Nickell
3831d63e77 Make the settings daemon a singleton BonoboObject so capplets can detect
2002-03-10  Seth Nickell  <snickell@stanford.edu>

        Make the settings daemon a singleton BonoboObject so capplets
	can detect whether its running and activate it if its not.

	* Makefile.am:
	* factory.c: (main):
	* gnome-settings-daemon.c: (awake_impl), (finalize),
	(gnome_settings_daemon_class_init), (gnome_settings_daemon_init),
	(gnome_settings_daemon_new):
	* gnome-settings-daemon.h:

	Convert the settings-daemon into a BonoboObject and add code to
	register it with bonobo-activation. Still has a main loop that can
	be run normally to launch the settings daemon.
2002-03-11 01:44: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
575824d32a Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* All: Eliminate compiler warnings

	* gnome-settings-daemon.h: Use __GNOME_SETTINGS_DAEMON_H for the
	enclosing macro
2001-12-20 20:20:03 +00:00
Jonathan Blandford
f666939831 Handle mouse properties. 2001-12-16 08:24:23 +00:00
Jonathan Blandford
757434ab94 Import from gconf-xsettings module. Cleaned up a bunch, and made to work
Sat Dec  8 21:33:10 2001  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-daemon/gnome-settings-daemon.c (main): Import
	from gconf-xsettings module.  Cleaned up a bunch, and made to work
	with mouse properties too.

	* schemas/peripherals.schemas: New location for schemas.  Need to
	write many more.
2001-12-09 18:50:32 +00:00