2007-08-17 Jens Granseuer <jensgr@gmx.net>
* gnome-settings-daemon.c: (initialize_modules), (start_modules),
(stop_modules), (finalize), (gnome_settings_daemon_init),
(gnome_settings_daemon_new): use a list instead of a hash table to
store the settings modules (closes bug #449118)
svn path=/trunk/; revision=8014
2007-06-22 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-daemon.c: incorporate fixes from Matthias Clasen in
bug #430889
(gnome_settings_daemon_init): create the DBus server here.
(gnome_settings_daemon_new): install an idle callback to initialize the
modules.
(init_modules_idle_cb): initialize modules and install an idle callback
to start the modules.
(start_modules_idle_cb): start modules here.
(finalize): unref the DBus service.
svn path=/trunk/; revision=7757
2007-06-21 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-accessibility-keyboard.c:
* gnome-settings-keybindings.c:
* gnome-settings-keyboard.c:
* gnome-settings-multimedia-keys.c:
* gnome-settings-xrdb.c:
* gnome-settings-daemon.c: all modules use now the new arch.
* gnome-settings-background.c (background_callback): pass the correct
argument to the idle callback.
svn path=/trunk/; revision=7756
2007-06-19 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-module.c (gnome_settings_module_start|_stop): return
TRUE if the module does not implement the method. It's not an error,
just the module does not need to implement it.
* gnome-settings-daemon.c (gnome_settings_daemon_init): allocate memory
for the index in the hash table.
svn path=/trunk/; revision=7753
2007-06-06 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-default-editor.c:
* gnome-settings-gtk1theme.c:
* gnome-settings-mouse.c:
* gnome-settings-sound.c:
* gnome-settings-xsettings.c: converted more modules to the new arch.
* gnome-settings-daemon.c (gnome_settings_daemon_new): now this is much
cleaner.
svn path=/trunk/; revision=7697
2007-05-09 Rodrigo Moya <rodrigo@gnome-db.org>
* gnome-settings-background.c: removed G_BEGIN|END_DECLS.
(gnome_settings_module_background_get_type): register with correct type.
(gnome_settings_module_background_initialize): store the GConfClient we get.
(gnome_settings_module_background_start): use the stored GConfClient.
* gnome-settings-background.h: removed unneeded file.
* gnome-settins-clipboard.c: new file to implement the clipboard manager as
a loadable module. Replaces clipboard-manager.[ch].
* gnome-settings-daemon.c: removed old clipboard manager and use the new
module-based one.
* Makefile.am: added/removed sources.
svn path=/trunk/; revision=7584
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
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-14 Rodrigo Moya <rodrigo@novell.com>
* gnome-settings-daemon.c (child_watch_cb): added this function to
watch for children...
(gnome_settings_daemon_spawn_with_input): ...started here, instead
of just blocking.
* gnome-settings-screensaver.c (gnome_settings_screensaver_load): do
lazy loading of the screensaver.
(really_start_screensaver): start on a 25 seconds timeout.
* gnome-settings-typing-break.c (gnome_settings_typing_break_load): do
lazy loading og the typing break applet.
(really_setup_typing_break): start on a 30 seconds timeout.
2005-10-14 Erwann Chenede <erwann.chenede@sun.com>
Fixes#314774
* gnome-settings-xrdb.c (gnome_settings_xrdb_load): connect to
"notify:gtk-theme-name" signal, to run xrdb only when the whole theme
has been changed.
(theme_changed): callback for "notify:gtk-theme-name".
Tue Jan 13 10:48:57 2004 Jonathan Blandford <jrb@gnome.org>
* gnome-settings-daemon: Merge in acme. We now have a variety of
actions for the keybinding capplet.
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-11-08 Mark McLoughlin <mark@skynet.ie>
Create a XSettingsManager for every available
screen and apply settings changes to each.
* gnome-settings-daemon.c:
(manager_event_filter): make this a per-window filter
and ask the appropriate xsettings manager to filter
the event.
(finalize): dispose of every manager.
(gnome_settings_daemon_new): create a settings manager
for each screen.
* gnome-settings-xsettings.c:
(translate_bool_int), (translate_int_int),
(translate_string_string), (process_value),
(xsettings_callback), (xft_callback),
(gnome_xft_settings_set_xsettings),
(gnome_settings_xsettings_load): apply settings to
every available settings manager.
2002-10-26 Havoc Pennington <hp@pobox.com>
* theme-switcher.c (window_read_themes): adapt to gnome-wm-manager
API changes
2002-10-26 Havoc Pennington <hp@pobox.com>
* gnome-window-manager.c: handle NULL fields in the class struct;
and replace the individual setters with get/set for a big
struct with flags indicating which fields we care about,
a la a graphics context. Add settings_changed signal.
(gnome_window_manager_get_type): change object name to
GnomeWindowManager not GWindowManager
* gnome-window-manager.h (struct _GnomeWindowManagerClass): add
padding to the class struct
* Makefile.am: move metacity module here from capplets/windows/
(libgnome_window_settings_la_SOURCES): don't build the code to
switch window managers, it was bitrotted and broken anyway, and
isn't in the UI right now. Keep the code in EXTRA_DIST in case
someone wants to recover it. Move some relevant bits to
gnome-wm-manager.c
2002-10-26 Havoc Pennington <hp@pobox.com>
* gnome-window-properties.c: rewrite
* Makefile.am (bin_PROGRAMS): remove metacity module, move to
libwindow-settings
(gnome_window_properties_LDADD): properly link to .la file for
libgnome-window-settings, not the installed copy
Wed May 29 20:23:13 2002 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: Add gnome-settings-keybinding
* gnome-settings-daemon.c: (gnome_settings_daemon_new): initialize
keybindings support
* gnome-settings-keybindings.[ch]: Patch to add support for custom
keybindings. Thanks to Erwann Chenede <Erwann.Chenede@sun.com>
for the patch.
2002-05-22 jacob berkman <jacob@ximian.com>
* gnome-settings-font.c (load_cursor): run the mkfontdir command
synchronously to avoid a possible race. extra precaution for
#78023
* gnome-settings-daemon.c (gnome_settings_daemon_new): run
background settings after everything else, as some of those spawn
processes (xscreensaver) and background settings nices itself
should fix#78742
2002-05-16 jacob berkman <jacob@ximian.com>
* Makefile.am:
* gnome-settings-default-editor.[ch]: keep text/plain and text*
using the same mime type (#78037)
* gnome-settings-daemon.c (gnome_settings_daemon_new): load editor
and keyboard settings (bugs #78037 and #78016)
Tue Apr 9 11:43:08 2002 Jonathan Blandford <jrb@gnome.org>
* capplets/accessibility/keyboard/Makefile.am: Change gnome2-* to
gnome-*
* capplets/default-applications/Makefile.am: ditto
* capplets/file-types/Makefile.am: ditto
* capplets/font/Makefile.am: ditto
* capplets/keyboard/Makefile.am: ditto
* capplets/mouse/Makefile.am: ditto
* capplets/sound/Makefile.am: ditto
* capplets/theme-switcher/Makefile.am: ditto
* capplets/ui-properties/Makefile.am: ditto
* control-center/Makefile.am: ditto
* gnome-settings-daemon/Makefile.am: ditto
* gnome-keybinding-properties.c (setup_dialog): man, was this code
silly. Also, themes are case sensitive.
(is_metacity_running): Add support for metacity keybindings. This
is off by default until I write code to actually detect metacity.
Tue Apr 9 11:58:10 2002 Jonathan Blandford <jrb@gnome.org>
* Makefile.am: Add commented out disk support until I finish the code.
2002-03-26 jacob berkman <jacob@ximian.com>
* gnome-settings-screensaver.[ch]
(gnome_settings_screensaver_load): start xscreensaver, and display
an error dialog if it failed
* gnome-settings-daemon.c (gnome_settings_daemon_new): init/load
screensaver
2002-03-13 jacob berkman <jacob@ximian.com>
* gnome-settings-daemon.c (_GnomeSettingsDaemonPrivate): add a
dummy field
(gnome_settings_daemon_register_callback): cast functions to
gpointers as forte does not like this (bug #74349)
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-06 Miles Lane <miles@megapathdsl.net>
* gnome-settings-daemon.c -- Correct the gnome_program_init()
call to specify the correct program name. Specify the
restart command, so that the session manager knows how
to restart the daemon if it is killed for any reason.
Tue Feb 19 23:52:17 2002 Jonathan Blandford <jrb@redhat.com>
* gnome-mouse-properties.c (cursor_font_changed): Hook up cursor code.
Tue Feb 19 23:53:06 2002 Jonathan Blandford <jrb@redhat.com>
* gnome-settings-font.c: set the font path and handle cursors.
2002-01-08 Richard Hestilow <hestilow@ximian.com>
* gnome-settings-daemon.c (main): Initialize libgnomeui,
and load sounds.
* gnome-settings-sound.c (stop_esd): Just tell esd to let go
of /dev/dsp.
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