On 16 February 2012 09:02, Ilya Chernykh anixxsus@gmail.com wrote:
On Thursday 16 February 2012 18:01:37 you wrote:
On Thursday 16 February 2012 18:38:02 Serghei Amelian wrote:
can we get a link to the sources? I'd like to incorporate it into my work on the shutdown dialog.
http://git.trinitydesktop.org/cgit/tdebase/tree/ksmserver/shutdowndlg.cpp
Is there a link to patch somewhere?
Oh I see it now
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?