[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [Kopete-devel] Autoaway plugin
From: Daniel Stone <dstone () kde ! org>
Date: 2002-05-04 8:47:40
[Download RAW message or body]
On Sat, May 04, 2002 at 10:21:30AM +0200, Ladislav Strojil wrote:
> I have a suggestion about the AutoAway plugin.
>
> The problem (at least for me) is that it restores status to available, no
> matter what it was before setting "away" status.
>
> The problem is that is I set my status to "Occupied" and then leave the
> computer untouched for few minutes before moving the mouse, it changes to
> "Available" instead of "Occupied".
>
> I tried to patch the plugin to remember last status before going away, but
> this can probably be done as each of communication plugins can have different
> status set at that moment.
>
> So it seems to me that the only way to implement this is to add new methods
> for plugins: setAutoAway() and restoreAutoAway(), that would store old
> status.
>
> AA plugin could then call these instead of the unconditional ones.
This is indeed the only way to handle this. Since each plugin stores its
own status - int, QString, whatever, and in an incompatible way, and
sets its presences differently, this would have to be implemented on a
per-plugin basis.
Cheers!
d
--
Daniel Stone <daniel@raging.dropbear.id.au> http://raging.dropbear.id.au
KDE Developer <dstone@kde.org> http://www.kde.org
Kopete: Multi-protocol IM client http://www.kdedevelopers.net/kopete/
[Attachment #3 (application/pgp-signature)]
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic