On Mo, 2010-11-22 at 18:11 +0100, Josselin Mouette wrote: > Le lundi 22 novembre 2010 à 18:01 +0100, Julian Andres Klode a écrit : > > > It should, instead, use the gnome-session D-Bus interface when > > > available, so that applications are closed cleanly. > > > > It runs org.gnome.SessionManager.RequestReboot() first, if that fails it > > uses HAL. If I recall correctly, RequestReboot() is an Ubuntu-specific > > extension and not available in Debian, and something I wanted to work > > around. > > I think it should request org.gnome.SessionManager.Shutdown() if the > first attempt fails. It should directly use it, since we have no RequestReboot() and Shutdown() is the only way for us.
> And if this one fails it should use ConsoleKit instead of HAL. Patch/API documentation? Patch preferred, although then you would have to sign a contributors license agreement (if you have not signed one yet) with Canonical[1] in order to allow useful merging of the two branches. [1] http://www.canonical.com/contributors -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

