lp:~vcs-imports/gnome-session/trunk
- Get this branch:
- bzr branch lp:~vcs-imports/gnome-session/trunk
Branch merges
Branch information
Import details
This branch is an import of the Subversion branch from http://svn.gnome.org/svn/gnome-session/trunk.
Last successful import was .
Whiteboard
GNOME SVN is down
Recent revisions
- 4391. By vuntz
-
2009-04-14 Vincent Untz <email address hidden>
* configure.in: post-release bump to 2.26.2
- 4389. By vuntz
-
2009-04-10 Vincent Untz <email address hidden>
* gnome-session/
main.c: (require_ dbus_session) : when relaunching with
dbus-launch, correctly copy arguments that were passed to
gnome-session over to the new call
Fix bug #574310. - 4388. By vuntz
-
2009-04-10 Vincent Untz <email address hidden>
* tools/gnome-
session- save.c: (main): make gnome-session-save --kill
--silent work as --force-logout (no inhibitor dialog).
Fix bug #574982. - 4385. By vuntz
-
2009-04-09 Vincent Untz <email address hidden>
* gnome-session/
gsm-manager. c: (do_inhibit_ dialog_ action) : remove
comment that is now wrong
(query_end_session_ complete) : pass the right action to the inhibit
dialog so that the button doesn't always tell "Log out anyway", but
"Shutdown anyway" when it's about shutting down. - 4384. By vuntz
-
2009-04-08 Vincent Untz <email address hidden>
* configure.in: post-release bump to 2.26.1
- 4383. By vuntz
-
2009-04-08 Vincent Untz <email address hidden>
* NEWS:
* configure.in: version 2.26.0.90 - 4382. By vuntz
-
2009-04-08 Vincent Untz <email address hidden>
Make reboot and shutdown leave the session properly, by letting apps
exit before doing the real reboot/shutdown.Note that because of the ConsoleKit policies, the ways it's handled
when there are more than one user logged in or when the policy always
require a password might be a bit different:
- in the usual case (single user, no password required), everything
works as expected.
- in the multiple users case (password generally required once), we
ask for the password before trying to exit the session.
- if the password is required each time the ConsoleKit action is
called, then we'll ask for the password only once, after having made
all apps exit. If this doesn't work (wrong password), since the
session is killed anyway, we log out and ask gdm to do the action.* gnome-session/
gsm-marshal. list: add new signature that we need
* gnome-session/gsm-consolekit. [ch]: add new privileges- completed
signal
(gsm_consolekit_class_ init): add new signal
(gsm_consolekit_get_result_ for_action) : new, split from
gsm_consolekit_can_do_ action( )
(gsm_consolekit_can_do_ action) : ensure that the CK connection works
here (instead of requiring callers to do it), and use
gsm_consolekit_get_result_ for_action( )
(gsm_consolekit_is_session_ for_other_ user): new, ask ConsoleKit if a
session object is for a different user than the current user (ignoring
the login sessions)
(gsm_consolekit_is_single_ user): new, determine if there's only a
single user logged in on this machine
(obtain_privileges_ cb): new, PolicyKit callback when the privileges
were obtained/denied, to send the privileges-completed signal
(gsm_consolekit_obtain_ privileges_ for_action) : new, obtain the
PolicyKit privileges for a specific action
(gsm_consolekit_get_privilege s_for_actions) : new, to know if we have
privileges for a set of actions, and request the privileges if needed
(gsm_consolekit_get_restart_ privileges) : new, trivial
(gsm_consolekit_get_stop_ privileges) : new, trivial
(gsm_consolekit_can_restart) : do not ensure that the CK connection
works here, it will be done in gsm_consolekit_can_do_ action( )
(gsm_consolekit_can_stop) : ditto * gnome-session/
gsm-manager. c: we add a logout type variable that lets
us remember what should be done when gnome-session exits.
(quit_request_ completed) : new, callback that will make gnome-session
exit after the ConsoleKit call to Stop/Restart has been done. If the
ConsoleKit call wasn't successful, we fallback on gdm (since we're in
the EXIT phase, and all apps have quitted, there's no point in not
asking gdm to do that).
(gsm_manager_quit): new, to do the right thing to log out depending on
what the user wanted to achieve when logging out.
(end_phase): use gsm_manager_quit() instead of directly calling
gtk_main_quit()
(cancel_end_session) : reset the logout type to none
(do_attempt_reboot) , (do_attempt_ shutdown) , (manager_ attempt_ reboot) ,
(manager_attempt_ shutdown) : killed/merged in
request_reboot/ request_ shutdown
(do_inhibit_dialog_ action) : renamed from do_dialog_action(); for
shutdown and reboot, we just do like logout and end the phase.
(inhibit_dialog_ response) : s/do_dialog_ action/ do_inhibit_ dialog_ action
(query_end_session_ complete) : add a comment about
gsm_inhibit_dialog_ new to make it clear that the
GSM_LOGOUT_ACTION_ LOGOUT parameter is fine for shutdown and reboot too
(request_reboot_ privileges_ completed) : new, handle the fact that we got
the privileges from ConsoleKit to do the reboot.
(request_reboot): ask ConsoleKit for the privileges to reboot, and if
it doesn't work (no ConsoleKit), just end the phase
(request_shutdown_ privileges_ completed) , (request_shutdown): see above
changes for reboot functions
(request_logout): set the logout type
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)