2007-05-08 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-background.c: changed to use the new GnomeSettingsModule
class for loadable modules.
* gnome-settings-daemon.c (initialize_modules, start_modules,
stop_modules): new functions to call modules's methods.
(gnome_settings_daemon_init): get all module types and create objects
from each of them.
(gnome_settings_daemon_new): added code to call loadable modules's
methods where appropriate.
svn path=/trunk/; revision=7580
2007-04-02 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
when there is an error, not exit(), so that we do proper cleanup.
Remove code to register GConf callbacks, that is done in utils.c.
(gnome_settings_daemon_get_conf_client,
gnome_settings_daemon_register_callback,
gnome_settings_daemon_spawn_with_input,
gnome_settings_daemon_get_invisible,
gnome_settings_daemon_delayed_show_dialog): removed from the
GnomeSettingsDaemon interface.
* utils.c (gnome_settings_get_config_client,
gnome_settings_get_invisible,
gnome_settings_register_config_callback,
gnome_settings_spawn_with_input,
gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
interface.
* factory.c (main): check return value from gnome_settings_daemon().
* *.c: adapted to changes in function names.
* Makefile.am: put source files in alphabetical order.
svn path=/trunk/; revision=7434
* delayed-dialog.c (gnome_settings_delayed_show_dialog): new
method to delay showing a dialog until after the window manager is
running.
* gnome-settings-font.c (load_cursor):
* gnome-settings-keyboard-xkb.c (activation_error): Use it.
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!
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.
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-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
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.