D-BUS and uread messages.
khc at hxbc.us
Mon Aug 11 20:58:15 EDT 2008
On Sun, 2008-08-10 at 10:39 -0500, Casey Harkins wrote:
> On Sun, 2008-08-10 at 16:19 +0300, Viacheslav Chumushuk wrote:
> > Hello.
> > I want to get number of unread incoming messages in Pidgin, by d-bus
> > interface. Or maybe not number of unread messages, but only boolean value is we have at list one.
> > I was looking at documentation but without success.
> The docklet uses the pidgin_conversation_find_unseen_list() function,
> which returns a list of conversations with unread messages. The function
> takes a parameter for the maximum number of conversations to return. So,
> if you're only interested in a boolean value, you can set the maximum to
> 1 and the function will return immediately when one conversation is
> encountered with an unread message.
pidgin_* functions aren't available through dbus
More information about the Devel