On Thursday 16 February 2012 17:18:49 Ilya Chernykh 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. > > lol, the patch cannot be applied here. My /ksmserver/shutdowndlg.cpp has > only 287 lines, while your patch changes the lines with numbers 700-1000. Don't waste your time with the patch, just copy/paste the code :) -- Serghei.