2008-09-02 Vincent Untz * NEWS:: version 2.23.91 2008-09-02 Vincent Untz Synchronize the environment set by the gnome-keyring daemon in the gnome-keyring-daemon wrapper to the environment of gnome-session. Fix the other part of bug #547272. * compat/gnome-keyring-daemon-wrapper.c: (keyring_env_to_hashtable): new, put an environment in a hash table (keyring_environment_updated_from_new): new, call Setenv dbus method to have gnome-session aware of changed/new environment variables (keyring_environment_removed_from_old): new, unset (kind of, since that's the Setenv dbus method with an empty value) environment variables that were unset (keyring_export_environment): new, does the synchronization magic (keyring_daemon_start): updated to use keyring_export_environment() 2008-09-02 Vincent Untz * compat/gnome-keyring-daemon-wrapper.c: (keyring_daemon_start): call gnome_keyring_daemon_prepare_environment_sync() so that the keyring daemon has all the right environment variables. Patch by Stef Walter Fix part of bug #547272. 2008-09-02 Vincent Untz * gnome-session/main.c: (main): set GNOME_DESKTOP_SESSION_ID to "this-is-deprecated" to make it clear that people should stop relying on this. 2008-09-02 Vincent Untz * gnome-session/main.c: (main): export GNOME_DESKTOP_SESSION_ID. We need this for compatibility reasons for third-party programs. Fix bug #542880. 2008-09-01 Vincent Untz Add --logout, --force-logout, --logout-dialog and --shutdown-dialog arguments to gnome-session-save, and deprecate --kill. This will make things less ambiguous. * tools/gnome-session-save.c: rename some variables (display_error): updated (get_sm_proxy): call get_session_bus() from there, since it simplifies code elsewhere (set_session_name): updated (do_logout): renamed from logout_session(), and simplified. Also add a mode argument for the logout dbus method. (do_shutdown_dialog): new (main): updated for new options * doc/man/gnome-session-save.1: update man page Fix bug #550211. 2008-09-01 Vincent Untz * gnome-session/main.c: (require_dbus_session): make sure we have a session bus by re-running ourself with "dbus-launch --exit-with-session" if necessary. (main): call require_dbus_session() at the early beginning Based on patch by Colin Walters Fix bug #546863. 2008-08-30 Matthias Clasen * gnome-session/gsm-app.c: * gnome-session/gsm-autostart-app.c: * gnome-session/gsm-manager.c: * gnome-session/gsm-resumed-app.c: Always chain up in dispose handlers. 2008-08-29 Matthias Clasen * splash/gnome-session-splash.c: Plug a small leak. 2008-08-29 Matthias Clasen * egg/eggsmclient-xsmp.c (sm_client_xsmp_connect): Don't leak cmdline. 2008-08-29 William Jon McCann * gnome-session/main.c (find_desktop_file_for_app_name): Add some debugging. 2008-08-29 Matthias Clasen * compat/at-spi-registryd-wrapper.c (set_gtk_modules): Plug another leak 2008-08-29 William Jon McCann * egg/eggdesktopfile.c (egg_desktop_file_new_from_key_file), (egg_desktop_file_launchv): * gnome-session/gsm-autostart-app.c (setup_condition_monitor), (is_conditionally_disabled): * gnome-session/gsm-resumed-app.c (gsm_resumed_app_new_from_legacy_session): * gnome-session/gsm-xsmp-client.c (gsm_xsmp_client_finalize), (register_client_callback): Fix some leaks found by valgrind. Patch from: Matthias Clasen 2008-08-29 William Jon McCann * data/Makefile.am: Don't install the gnome-wm.desktop by default. 2008-08-29 William Jon McCann * capplet/gsm-app-dialog.c (on_browse_button_clicked), (setup_dialog), (gsm_app_dialog_dispose), (gsm_app_dialog_get_name), (gsm_app_dialog_get_command), (gsm_app_dialog_get_comment), (gsm_app_dialog_init), (gsm_app_dialog_finalize): * capplet/gsm-properties-dialog.c (gsm_properties_dialog_dispose), (gsm_properties_dialog_finalize): Fix add/edit dialog. 2008-08-29 William Jon McCann * gnome-session/main.c (main): Fix typo. 2008-08-28 William Jon McCann * gnome-session/main.c (append_default_apps), (load_standard_apps), (load_override_apps), (main): Add command line option to override the gconf key used to look up the default session. 2008-08-26 William Jon McCann * data/gnome-wm: Use the required components key if possible. 2008-08-26 William Jon McCann * data/gnome-session.schemas.in: * data/gnome-wm: Don't use gnome-wm by default. We should encourage WMs to install a desktop file and to set /desktop/gnome/session/required-components/windowmanager 2008-08-26 William Jon McCann * gnome-session/main.c (find_desktop_file_for_app_name), (append_default_apps), (append_required_apps): Look in app dirs for required components. 2008-08-26 William Jon McCann * gnome-session/main.c (append_required_apps): Honor the list of required apps in the list key instead of loading all component keys in the dir. 2008-08-26 Frederic Crozat * compat/at-spi-registryd-wrapper.c: always set a11y gtk modules but unset it if at-registry could not be started. Still fixes #548982. 2008-08-22 Frederic Crozat * compat/at-spi-registryd-wrapper.c: don't set a11y gtk modules if at registry could not be started. Fixes #548982. 2008-08-22 Frederic Crozat * gnome-session/gsm-util.c: ensure non-fatal error are treated as such. Fixes #548980. 2008-08-22 Jens Granseuer * capplet/gsm-properties-dialog.c: add missing include for gio. Fixes #548909. 2008-08-21 William Jon McCann * gnome-session/gsm-autostart-app.c (gsm_autostart_app_restart): * gnome-session/gsm-manager.c (_app_has_startup_id), (find_app_for_startup_id), (_disconnect_client): Don't return an error if we can't stop an app that we want to restart. It may be stopped. Also try to find the app based on the startup ID first if we have one. Probably fixes #548710 2008-08-20 William Jon McCann * configure.in: Post release version bump