Ok the DBus problem is solved. (I was using different user).
Btw now the ScreenSaver dbus implementation is even better because we
don't call every 4 seconds GetActive but wait for dbus ActiveChanged signal :D

So ok to commit?

Roman

On Sun, 27 Jul 2008 11:09:18 +0200, Roman Jarosz <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I've changed the implementation of idle timer because it was only
> implemented for x11. With this patch it should work on all platforms.
> Most of the code was taken from KVirc.
>
> I've successfully tested it on Linux and Windows. The MacOS version wasn't 
> tested.
>
> Can I commit it?
>
> Regards,
> Roman
>
> PS. There's one problem. If you lock the screen and then interact with mouse 
> or keyboard
> the idle time will be set back to 0. I'll try to investigate if we can somehow
> detect if the screen is locked.
>
> QDBusInterface caller("org.freedesktop.ScreenSaver", "/ScreenSaver", 
> "org.freedesktop.ScreenSaver");
> QDBusReply<bool> reply = caller.call("GetActive");
> This somehow isn't working.


Attachment: idletimer-mp2.diff
Description: Binary data

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to