Le vendredi 30 mars 2007, à 18:58, David Zeuthen a écrit : > Not really; personally I'd like to get rid of them but the point about > that if a caller inhibits the PM interface it should inhibit the > Shutdown/Logout/Reboot interface as well. It seems you are suggestion > two specs then: > > org.freedesktop.PowerManagement - but without Shutdown() and Reboot() > > and this one > > org.freedesktop.SessionManagement > Shutdown() > Reboot() > Logout() > Inhibit(String app, String reason) > > See [1] for discussion on nomenclature. > > The way this could work is then that org.fd.PM.Inhibit() would also call > Inhibit() on org.fd.SM. Specifically, as you mention, existing PM > daemons like gnome-power-manager, kpowersave etc. would just provide > both "interfaces" until something better comes along to provide > org.freedesktop.SessionManagement, e.g. for GNOME it . Notably we can > extend this interface later on. > > Would this work for everyone? Personally I think this is a lot nicer.
Sounds good to me (and it looks like we'll need to write a spec for this dbus API :-)) Vincent -- Les gens heureux ne sont pas pressés. _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
