On 16 February 2012 10:23, Ilya Chernykh <anixxsus(a)gmail.com> wrote:
On Thursday 16 February 2012 19:16:05 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?
I think the patch is a mess, because qtcreator made automatically some cleanup
in source file. Howewer, upower code is embraced between "#ifdef WITH_UPOWER"
directives.
Also I wonder whether the patch affects all KDE places where one can shutdown the
computer or
only the shutdown dialog. I.e. whether it would work for hibernating from a menu such as
kickoff.
Which is also why I said we should have a DCOP interface to do this.
that way Kickoff/Kicker could directly call it without having to
interface with HAL/Udev