summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon
Commit message (Collapse)AuthorAgeFilesLines
* all: build cleanly with GCC 4.6Cosimo Cecchi2011-02-072-30/+7
|
* main: remove call to gdk_enable_multidevice()Cosimo Cecchi2010-12-151-2/+0
| | | | As that's the default in GTK+ master now.
* daemon: properly handle gnome-session EndSession signalsCosimo Cecchi2010-11-291-3/+73
| | | | So that the daemon doesn't block at logout.
* daemon: Don't pass NULL strings to g_variant_new()Bastien Nocera2010-11-261-1/+1
|
* daemon: Register with gnome-sessionBastien Nocera2010-11-231-2/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=635629
* all: Only call g_bus_own_name() onceBastien Nocera2010-11-231-13/+17
| | | | | | | | Only call g_bus_own_name() once, in the main code, and register our interfaces as soon as we get the bus connection in other cases. Fixes the main daemon exiting as soon as created in some cases.
* daemon: Remove Python loader left-oversBastien Nocera2010-11-231-97/+11
|
* daemon: use a warning instead of debug when losing bus nameWilliam Jon McCann2010-11-231-1/+2
|
* daemon: add debugging information for shutdown pathWilliam Jon McCann2010-11-231-0/+6
|
* 2.91.3GNOME_SETTINGS_DAEMON_2_91_3Bastien Nocera2010-11-171-1/+0
| | | | Fix distcheck
* daemon: Don't forget to unown the D-Bus nameBastien Nocera2010-11-171-0/+5
| | | | Cleaner.
* daemon: Never had Python supportBastien Nocera2010-11-171-9/+0
| | | | And it's unlikely to start now.
* daemon: Remove gnome-settings-client.hBastien Nocera2010-11-171-2/+0
| | | | We shouldn't ship stuff like that anymore, it depends on dbus-glib.
* daemon: Port to GDBusBastien Nocera2010-11-173-77/+110
| | | | | | Easy port, all in all. The main difference being that the bus connection is gathered async, so we cannot send activation signals on startup, before the bus connection is done.
* daemon: s/"/'/ to make it easier to embedBastien Nocera2010-11-171-10/+10
| | | | Let's start on GDBus porting.
* build: Require libnotifyBastien Nocera2010-11-161-5/+0
| | | | As we'll be building the experience around that.
* daemon: Fix build without libnotify presentBastien Nocera2010-11-161-0/+5
| | | | | | It's optional in the configure, so it should be optional in main. https://bugzilla.gnome.org/show_bug.cgi?id=634939
* housekeeping: use a notification for low space warningWilliam Jon McCann2010-11-152-1/+8
| | | | | | | | | | | Only fallback to a dialog if the notification server doesn't support actions. Further work is needed to provide a way to blacklist volumes. Also we probably don't want to run these notifications in a loop over volumes since notifications are async and it isn't super nice to send a stream of bubbles to the user anyway. Better to say multiple volumes are low on space.
* daemon: Port to GDBusBastien Nocera2010-11-081-181/+75
| | | | | | And clean up some old code. https://bugzilla.gnome.org/show_bug.cgi?id=634331
* Don't choke if there are old plugins laying aroundWilliam Jon McCann2010-10-142-12/+43
| | | | | Noticed this because the typing monitor plugin was still in my install directory.
* daemon: Use g_timeout_add_secondsBastien Nocera2010-10-131-1/+1
| | | | | | | Rather than g_timeout_add() as we're looking for 1/2 minute timeouts here. https://bugzilla.gnome.org/show_bug.cgi?id=582703
* daemon: Fix cut'n'paste errorBastien Nocera2010-10-131-1/+1
| | | | No need to get the GSettings twice, we already have it.
* plugins: Cleanup macro magic in plugin.hPaolo Borelli2010-10-131-115/+11
| | | | | | | | | | gnome-settings--plugin.h contains a lot of macro voodoo coming from the original gedit code. glib 2.14 introduced a macro that can be used to simplify all that cruft. https://bugzilla.gnome.org/show_bug.cgi?id=591798
* Use Gdk to get events about input devices being addedBastien Nocera2010-10-131-0/+2
| | | | This makes our code smaller, as well as easier to understand.
* daemon: Never daemonise the "daemon"Bastien Nocera2010-10-131-92/+0
| | | | | | As discussed on IRC, this makes no sense, and could potentially break application launching from the keybindings or media-keys plugins.
* daemon: Set priority for plugins based on settingsBastien Nocera2010-10-132-1/+8
|
* daemon: Remove use of settings_prefixBastien Nocera2010-10-135-95/+4
| | | | | | | | And fix loading plugins information. Spotted by Alban Browaeys <prahal@yahoo.com> https://bugzilla.gnome.org/show_bug.cgi?id=631933
* Use --settings-prefix as command line argument for gnome-settings-daemonRodrigo Moya2010-10-111-5/+5
|
* Migrate gnome-settings-daemon settings (/apps/gnome/gnome_settings_daemon) ↵Rodrigo Moya2010-10-053-75/+37
| | | | to GSettings
* Fix include directory to match API versionBastien Nocera2010-09-221-1/+1
|
* Silence build by defaultBastien Nocera2010-09-201-2/+2
|
* Miscellaneous string fixesPhilip Withnall2010-05-021-1/+1
| | | | | | | Various small string fixes: mostly minor punctuation and capitalisation improvements, especially concerning XRandR. Two cases of markup in translatable strings have been removed, and a duplicate GConf key has been removed from a schema file. Helps: bgo#616785
* Add timed exit optionWilliam Jon McCann2010-01-091-0/+13
| | | | Useful for checking for leaks with valgrind.
* revert build patch from r763Jens Granseuer2009-03-181-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | 2009-03-18 Jens Granseuer <jensgr@gmx.net> * gnome-settings-daemon/Makefile.am: * plugins/a11y-keyboard/Makefile.am: * plugins/background/Makefile.am: * plugins/clipboard/Makefile.am: * plugins/dummy/Makefile.am: * plugins/font/Makefile.am: * plugins/housekeeping/Makefile.am: * plugins/keybindings/Makefile.am: * plugins/keyboard/Makefile.am: * plugins/media-keys/Makefile.am: * plugins/mouse/Makefile.am: * plugins/screensaver/Makefile.am: * plugins/sound/Makefile.am: * plugins/typing-break/Makefile.am: * plugins/xrandr/Makefile.am: * plugins/xrdb/Makefile.am: * plugins/xsettings/Makefile.am: revert build patch from r763 svn path=/trunk/; revision=793
* Based on patch by: Christopher Taylor <christophth@tiscali.it>Jens Granseuer2009-03-071-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-07 Jens Granseuer <jensgr@gmx.net> Based on patch by: Christopher Taylor <christophth@tiscali.it> * gnome-settings-daemon/Makefile.am: * plugins/a11y-keyboard/Makefile.am: * plugins/background/Makefile.am: * plugins/clipboard/Makefile.am: * plugins/dummy/Makefile.am: * plugins/font/Makefile.am: * plugins/housekeeping/Makefile.am: * plugins/keybindings/Makefile.am: * plugins/keyboard/Makefile.am: * plugins/media-keys/Makefile.am: * plugins/mouse/Makefile.am: * plugins/screensaver/Makefile.am: * plugins/sound/Makefile.am: * plugins/typing-break/Makefile.am: * plugins/xrandr/Makefile.am: * plugins/xrdb/Makefile.am: * plugins/xsettings/Makefile.am: make build work with -Wl,-z,defs linker options (bug #574452) svn path=/trunk/; revision=763
* also install the plugin header file because it is needed for customJens Granseuer2009-03-021-2/+4
| | | | | | | | | 2009-03-02 Jens Granseuer <jensgr@gmx.net> * gnome-settings-daemon/Makefile.am: also install the plugin header file because it is needed for custom plugins (bug #573610) svn path=/trunk/; revision=756
* Patch by: Frederic Peters <fpeters@0d.be>Jens Granseuer2008-12-281-0/+4
| | | | | | | | | | | 2008-12-28 Jens Granseuer <jensgr@gmx.net> Patch by: Frederic Peters <fpeters@0d.be> * gnome-settings-daemon/main.c: (main): initialize thread system since ORBit no longer does it for us (#565515) svn path=/trunk/; revision=640
* Shutdown properly when bus goes away. Previously we were just lettingRay Strode2008-12-171-1/+21
| | | | | | | | | | | | | | | 2008-12-07 Ray Strode <rstrode@redhat.com> Shutdown properly when bus goes away. Previously we were just letting libdbus call exit(1) for us. * gnome-settings-daemon/main.c (get_session_bus): Set up a filter function to catch disconection events. (bus_message_handler): quit event loop when disconnected from bus. svn path=/trunk/; revision=636
* Shutdown properly when killed.Ray Strode2008-12-171-0/+50
| | | | | | | | | | | | | | | | 2008-12-07 Ray Strode <rstrode@redhat.com> Shutdown properly when killed. * gnome-settings-daemon/main.c (on_term_signal): top half of signal handling code. close a pipe when getting SIGTERM. (on_term_signal_pipe_closed), (watch_for_term_signal), (set_session_over_handler): bottom half. Quit event loop when term pipe gets closed. svn path=/trunk/; revision=635
* Rename pipefds to daemon_pipe_fds. This fits the naming style of theRay Strode2008-12-171-7/+7
| | | | | | | | | | | 2008-12-07 Ray Strode <rstrode@redhat.com> * gnome-settings-daemon/main.c: Rename pipefds to daemon_pipe_fds. This fits the naming style of the surrounding code better. Also, we're going to need another pipe, so better to use a specific name here. svn path=/trunk/; revision=634
* Don't call umask (bug #563543)Behdad Esfahbod2008-12-071-1/+0
| | | | | | | | | 2008-12-07 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemon_detach): Don't call umask (bug #563543) svn path=/trunk/; revision=628
* Fix --no-daemon (bug #562175)Behdad Esfahbod2008-11-241-13/+38
| | | | | | | | | 2008-11-24 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (parse_args), (main): Fix --no-daemon (bug #562175) svn path=/trunk/; revision=611
* Check return value of pipe().Behdad Esfahbod2008-11-101-2/+5
| | | | | | | | | 2008-11-10 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemon_start): Check return value of pipe(). svn path=/trunk/; revision=603
* Fork before gtk_init (bug #559695)Behdad Esfahbod2008-11-101-35/+59
| | | | | | | | | 2008-11-10 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemon_start), (daemon_detach), (daemon_terminate_parent), (main): Fork before gtk_init (bug #559695) svn path=/trunk/; revision=602
* Use a pipe to communicate between child and parent process instead of aBehdad Esfahbod2008-11-041-7/+11
| | | | | | | | | | | | | 2008-11-04 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemonize), (main): Use a pipe to communicate between child and parent process instead of a signal. Signals are not queued, so if the child tried to signal the parent before the parent got a chance to wait for it, the signal would be lost and parent wait indefinitely for a signal that would never arrive. svn path=/trunk/; revision=585
* Don't close stderr. Otherwise we just lose all our warnings that will notBehdad Esfahbod2008-11-041-17/+15
| | | | | | | | | | | | 2008-11-04 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemonize): Don't close stderr. Otherwise we just lose all our warnings that will not end up in ~/.xsession-errors. Also fix indentation. svn path=/trunk/; revision=584
* Make parent wait for initialization in children to finish beforeBehdad Esfahbod2008-11-031-2/+63
| | | | | | | | | | | | | 2008-11-03 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/main.c (daemonize), (main): Make parent wait for initialization in children to finish before returning. This makes gnome-session to wait for initialization to be done before spawning other processes. This way, apps start up with the right xsettings and other settings, and don't have to handle change signals right after starting up. (bug #559168) svn path=/trunk/; revision=582
* Preload gconf dirs when feasible (bug #559167)Behdad Esfahbod2008-11-032-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-03 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/gnome-settings-manager.c (_load_file), (gnome_settings_manager_start), (gnome_settings_manager_stop): * gnome-settings-daemon/gnome-settings-plugin-info.c (gnome_settings_plugin_info_set_enabled_key_name): * plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c (register_config_callback): * plugins/keybindings/gsd-keybindings-manager.c (register_config_callback), (gsd_keybindings_manager_start): * plugins/keyboard/gsd-keyboard-manager.c (gsd_keyboard_manager_start): * plugins/keyboard/gsd-keyboard-xkb.c (register_config_callback): * plugins/mouse/gsd-mouse-manager.c (register_config_callback): * plugins/typing-break/gsd-typing-break-manager.c (gsd_typing_break_manager_start): * plugins/xrandr/gsd-xrandr-manager.c (gsd_xrandr_manager_start): * plugins/xsettings/gsd-xsettings-manager.c (register_config_callback), (gnome_xsettings_manager_start): Preload gconf dirs when feasible (bug #559167) svn path=/trunk/; revision=581
* Improve performance logging annotations (bug #559162)Behdad Esfahbod2008-11-032-12/+6
| | | | | | | | | | | | | | | | | | | 2008-11-03 Behdad Esfahbod <behdad@gnome.org> * gnome-settings-daemon/gnome-settings-manager.c (_load_file): * gnome-settings-daemon/gnome-settings-plugin-info.c (gnome_settings_plugin_info_fill_from_file), (load_plugin_module): * plugins/font/gsd-font-manager.c (child_watch_cb), (spawn_with_input): * plugins/keyboard/gsd-keyboard-xkb.c (gsd_keyboard_xkb_init): * plugins/xrandr/gsd-xrandr-manager.c (gsd_xrandr_manager_start): * plugins/xsettings/gsd-xsettings-manager.c (child_watch_cb), (spawn_with_input), (start_fontconfig_monitor), (stop_fontconfig_monitor), (gnome_xsettings_manager_start), (gnome_xsettings_manager_stop): Improve performance logging annotations (bug #559162) svn path=/trunk/; revision=576
* Get rid of libgnome (bug #557808).Jens Granseuer2008-10-291-24/+0
| | | | | | | | | | | | | | | | | 2008-10-29 Jens Granseuer <jensgr@gmx.net> Get rid of libgnome (bug #557808). * configure.ac: bump required gtk+ version to 2.13.1 * gnome-settings-daemon/main.c: (main): don't use g_program_init * plugins/a11y-keyboard/Makefile.am: * plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c: (ax_response_callback), (ax_stickykeys_response), (ax_slowkeys_response), (on_slow_keys_action), (on_sticky_keys_action): replace gnome_help_display_desktop with gtk_show_uri svn path=/trunk/; revision=571