2009-02-04 Vincent Untz * NEWS: * configure.in: version 2.25.90 2009-02-04 Vincent Untz * data/Makefile.am: fix distcheck 2009-02-03 Federico Mena Quintero * plugins/xrandr/gsd-xrandr-manager.c (restore_backup_configuration): Use gnome_rr_config_apply_from_filename(), as that's the new, non-deprecated API. (try_to_apply_intended_configuration): Likewise. (apply_intended_configuration): Likewise. (apply_stored_configuration_at_startup): Likewise. 2009-02-01 Frederic Peters * plugins/housekeeping/Makefile.am: * plugins/housekeeping/gsd-disk-space.c: add low diskspace checker files to housekeeping plug-in Makefile.am; and make its clean and setup methods available are made available. (bug #570132) 2009-01-31 Theppitak Karoonboonyanan * plugins/media-keys/Makefile.am: Fix include paths for non-source-dir builds. (bug #569955) 2009-01-28 Jens Granseuer * configure.ac: require gnome-desktop 2.25.6 due to recent changes 2009-01-27 Federico Mena Quintero http://bugzilla.gnome.org/show_bug.cgi?id=545115 - Ask for confirmation, with a timeout, after changing the RANDR configuration for if we leave the user with an unusable display. This also handles the case where the machine may crash after changing the configuration; the old/known-good configuration will be restored when the user restarts his session. Refactor: * plugins/xrandr/gsd-xrandr-manager.c (apply_stored_configuration_at_startup): Factor out the logic to apply the stored configuration at startup. (gsd_xrandr_manager_start): Use the function above. During startup, restore the backup configuration if it existed, to recover from the case when the machine crashes while applying an intended configuration. * plugins/xrandr/gsd-xrandr-manager.c (apply_stored_configuration_at_startup): First see if we have a backup configuration; if so, it means the machine or g-s-d crashed while changing the RANDR parameters. If there is no backup configuration, then we have a known-good configuration which we can use. (apply_intended_configuration): New function, used to load the intended configuration (i.e. the non-backup one). (restore_backup_configuration): Utility function to overwrite the known-bad configuration with the known-good backup one. Use a timeout-confirmation dialog after changing the display configuration: * plugins/xrandr/gsd-xrandr-manager.c (try_to_apply_intended_configuration): New function; applies the intended configuration, restores the backup configuration if that fails, or asks the user to confirm if the intended configuration is usable. (gsd_xrandr_manager_apply_configuration): Use try_to_apply_intended_configuration() in the implementation of the D-Bus method to apply RANDR configurations. This way all apps which use this D-Bus method will get confirmation for free. (output_rotation_item_activate_cb): Use try_to_apply_intended_configuration() so that the RANDR tray-icon also uses the confirmation/backup logic. (restore_backup_configuration): Restore the screen configuration itself in addition to restoring the file on disk from the backup. (user_says_things_are_ok): New utility function to handle a timeout-confirmation dialog. Fix error reporting at startup: * plugins/xrandr/gsd-xrandr-manager.c (error_message): Handle the case where the status_icon is not created yet; this happens during startup or when the status_icon is disabled by the user. Handle the case where there is no matching configuration at startup; this is not an error: * plugins/xrandr/gsd-xrandr-manager.c (apply_intended_configuration): "no matching configuration" is not an error when looking for a suitable configuration in monitors.xml; it simply means that the user has a different set of monitors than the ones that are available in that file. 2009-01-24 Jens Granseuer Patch by: Andres Freund Fix possible crash when pressing Fn-F7 (bug #568713) * plugins/xrandr/gsd-xrandr-manager.c: (handle_fn_f7): only try to dereference the error when it was actually set 2009-01-27 Federico Mena Quintero http://bugzilla.gnome.org/show_bug.cgi?id=545115 - Ask for confirmation, with a timeout, after changing the RANDR configuration for if we leave the user with an unusable display. This also handles the case where the machine may crash after changing the configuration; the old/known-good configuration will be restored when the user restarts his session. Refactor: * plugins/xrandr/gsd-xrandr-manager.c (apply_stored_configuration_at_startup): Factor out the logic to apply the stored configuration at startup. (gsd_xrandr_manager_start): Use the function above. 2009-01-26 Ray Strode Delay drawing the background until SessionRunning. * plugins/background/gsd-background-manager.c: (queue_draw_background): Cancel queued draw if nautilus is now running. (on_bus_message), (draw_background_after_session_loads), (gsd_background_manager_start): wait for SessionRunning and then queue background draw (gsd_background_manager_stop): remove message filter 2009-01-24 Jens Granseuer Patch by: Andres Freund Fix possible crash when pressing Fn-F7 (bug #568713) * plugins/xrandr/gsd-xrandr-manager.c: (handle_fn_f7): only try to dereference the error when it was actually set 2009-01-22 Bastien Nocera * data/apps_gnome_settings_daemon_keybindings.schemas.in: KEY_FILE maps to XF86Explorer, so use that to launch the file manager in the user's home directory 2009-01-19 Ray Strode Add crossfade transition when switching bgs (bug 552857) * plugins/background/gsd-background-manager.c (draw_background): Add use_crossfade argument that initiates the fade if TRUE. (on_bg_changed): call draw_background with crossfade. (on_bg_transitioned): new function that calls draw_background without crossfade during slide show transitioning. (setup_bg): set up transitioned signal handler. (queue_draw_background): draw_background without crossfade after 8 second timeout waiting for nautilus. 2009-01-19 Ray Strode * plugins/background/gsd-background-manager.c (gsd_background_manager_start): Don't draw_background immediately when nautilus is disabled. gnome_bg_load_from_preferences forces a "changed" signal to get emitted which will queue a draw anyway 2009-01-18 Jens Granseuer * plugins/media-keys/Makefile.am: fix automake warning 2009-01-18 Jens Granseuer * configure.ac: fix build with PulseAudio, too (bug #568179) 2009-01-17 Jens Granseuer * plugins/media-keys/Makefile.am: fix build without PulseAudio (bug #568015) 2009-01-15 Bastien Nocera * plugins/media-keys/cut-n-paste/*: Cut'n'paste code from the PulseAudio enabled code in gnome-media's gnome-volume-control * plugins/media-keys/actions/acme-volume-*.[ch]: Remove the old AcmeVolume code * plugins/media-keys/actions/acme.glade: * plugins/media-keys/actions/acme.h: Move to plugins/media-keys/ * configure.ac: Tell config.h when PulseAudio support is disabled * plugins/media-keys/gsd-media-keys-manager.c (update_dialog), (on_stream_event_notify), (do_sound_action), (update_default_sink), (on_control_ready), (on_control_default_sink_changed), (do_action), (gsd_media_keys_manager_start), (gsd_media_keys_manager_stop): Use PulseAudio directly to change the volume. It will automatically change the volume of the default audio output for the machine (Closes: #567177) * plugins/media-keys/Makefile.am: * plugins/media-keys/actions/Makefile.am: Changes for the above 2009-01-15 Jens Granseuer * plugins/keybindings/gsd-keybindings-manager.c: (binding_unregister_keys), (gsd_keybindings_manager_stop): also ungrab keys when this module is disabled 2009-01-15 Jens Granseuer * plugins/media-keys/gsd-media-keys-manager.c: (gsd_media_keys_manager_stop): ungrab shortcut keys when the plugin is disabled (bug #567867) 2009-01-14 Federico Mena Quintero * plugins/xrandr/gsd-xrandr-manager.c (gsd_xrandr_manager_start): If there was no file with a stored configuration, don't pop up an error message --- this is not an error when the daemon starts up. Fixes https://bugzilla.novell.com/show_bug.cgi?id=465968 2009-01-10 William Jon McCann * plugins/sound/gsd-sound-manager.c (register_config_callback): Fix typo. 2009-01-08 Jens Granseuer Based on a patch by: Lennart Poettering * configure.ac: * data/gnome-settings-daemon.schemas.in: * plugins/Makefile.am: * plugins/sound/Makefile.am: * plugins/sound/gsd-sound-manager.c: * plugins/sound/gsd-sound-plugin.h: * plugins/sound/sound.gnome-settings-plugin.in: Add a new sound plugin that tells PulseAudio to drop its sample cache when the sound theme changes (bug #545386). 2009-01-08 Jens Granseuer * plugins/media-keys/gsd-media-keys-manager.c: (gsd_media_keys_manager_grab_media_player_keys), (gsd_media_keys_manager_release_media_player_keys): add a little debugging output when de/registering media players (bug #564433) 2009-01-05 Bastien Nocera * plugins/xrdb/gsd-xrdb-manager.c (apply_settings): Quiet xrdb when there are duplicate rules in the .ad files (Closes: #566610) 2008-12-30 Matthias Clasen Bug 565310 – support hotkeys for a11y tools * configure.ac: Set GNOME_KEYBINDINGS_KEYSDIR. * data/gnome-settings-daemon.schemas.in: Add missing schemas for the keys in /destkop/gnome/applications/at, and also add new schemas for keys in /desktop/gnome/keybindings that define global keybindings for turning ATs on and off. Todo: There are no default key combinations in the schema yet. * data/50-accessibility.xml.in: Keybinding file to group the new keybindings in an "Accessibility" section in the keybinding capplet. * data/Makefile.am: Install the keybinding file in the proper location. * po/POTFILES.in: Add 50-accessibility.xml.in. 2008-12-31 Rodrigo Moya Patch by Vincent Untz from openSUSE package (bug #557647) * configure.ac: require giounix for diskspace checker * Makefile.am: * plugins/housekeeping/gsd-disk-space.[ch]: add low diskspace checker to housekeeping plugin. * plugins/housekeeping/gsd-housekeeping-manager.c (gsd_housekeeping_manager_start, gsd_housekeeping_manager_stop): start/stop the low diskspace checker. * plugins/housekeeping/housekeeping.gnome-settings-plugin.in: add new plugin capability to description * po/POTFILES.in: add new files 2008-12-28 Jens Granseuer * plugins/screensaver/gsd-screensaver-manager.c: (start_screensaver_cb), (gsd_screensaver_manager_start): spawn screensaver after a 30 second timeout instead of when idle so that it doesn't compete with other processes when the session starts (bug #564059). Also plug a few small leaks. 2008-12-28 Jens Granseuer Based on patch by: Jasper Lievisse Adriaanse * plugins/media-keys/gsd-media-keys-manager.c: (do_eject_action), (do_action): better support for Eject and Sleep actions on OpenBSD and FreeBSD (bug #565472) 2008-12-28 Jens Granseuer Patch by: Jasper Lievisse Adriaanse * plugins/typing-break/gsd-typing-break-manager.c: include signal.h to fix build on OpenBSD (bug #565470) 2008-12-28 Jens Granseuer Patch by: Frederic Peters * gnome-settings-daemon/main.c: (main): initialize thread system since ORBit no longer does it for us (#565515)