On Mon, 2012-10-22 at 17:38 -0400, Alexandre Rostovtsev wrote: > 1. suspend / hibernate / poweroff / reboot
The challenge is that it's not just about an API call which ends up as executing /usr/sbin/reboot or some other platform-specific mechanism. It's about modeling state. The canonical bug I use when describing the value in the tight GNOME/logind integration is stuff like pressing shutdown in the UI, then closing the laptop lid and having the system unexpectedly suspend in the middle of shutdown. Left hand unaware of what right hand is doing sort of bug. Really the only way to fix these kinds of things is to have one component of the system managing state, or at least multiple components that are tightly coordinated. Anyways, the best starting point for this is probably gnome-session's gsm-system.h, which already wraps a lot of things. Stuff like the inhibitors is stubbed out for ConsoleKit, but that's fine, it's not regressing anything. _______________________________________________ desktop-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/desktop-devel-list
