So when the user has prompting disabled, indicator-session can use the Unity API directly, and there's an attached MP for this.
In the default case where prompting is turned on, it looks like UnityCore/GnomeSessionManager.cpp's implementation of org.gnome.SessionManager.EndSessionDialog handles the logout signals on its own instead of returning control to indicator-session. It seems likely that once Unity has control it's irrelevant whether the logout signal emitted is Gnome or Unity, but am adding Treviño here for a sanity check to confirm... ** Changed in: unity Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0) -- You received this bug notification because you are a member of Unity API bugs, which is subscribed to Session Menu. https://bugs.launchpad.net/bugs/1296814 Title: When Unity.Session is available, use its API for logging out Status in The Session Menu: New Status in Unity: New Status in “unity8-desktop-session” package in Ubuntu: In Progress Bug description: The session indicator always uses gnome-session to end the session (log out), but gnome-session is not guaranteed to be available under, for example, a Unity8 desktop preview session. It should use Upstart where available. To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-session/+bug/1296814/+subscriptions -- Mailing list: https://launchpad.net/~unity-api-bugs Post to : unity-api-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~unity-api-bugs More help : https://help.launchpad.net/ListHelp