On Thursday 16 February 2012 17:10:27 Calvin Morrison wrote: [...]
Serghei,
Should we instead create functions to check if we can shutdown, hibernate, sleep etc, and also functions to execute those commands via ksmserver? That way one could easily call ksmserver via dcop to do one of those actions.
Also it would allow us to separate the shutdowndialog and the actual shutdown code. This would be good for my work for kicker regarding the logout menu option I proposed yesterday. That way I can easily integrate it with DCOP instead of basically all the upower/hal code.
What do you think?
I think is possible, I didn't programmed with DCOP yet.