Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets New Pidgin plugin (unread message count)
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] New Pidgin plugin (unread message count)
exscape English 3 matttbe [Read]
30 December 2014 à 05:24

exscape, Monday 15 December 2014 à 19:56


Subscription date : 15 December 2014
Messages : 3
In case someone is interested, I created a small Pidgin plugin that shows the number of unread chat messages in cairo-dock.

https://github.com/exscape/pidgin_cairo_dock

It *only* shows the number of unread messages.
If you want other functionality, use the official cairo-dock Pidgin applet instead. However, that applet can no longer show the number of unread messages, as Pidgin no longer exports the "unseen-count" via DBus.
There is a workaround for the official applet if you download and compile this Pidgin plugin and modify the applet to use the new method name (self.purple.PurpleConversationGetUnseen(conv)), but that's more work.

Regards,
Thomas

matttbe, Monday 29 December 2014 à 02:28


Subscription date : 24 January 2009
Messages : 12573
Hello and thank you for this new Pidgin plugin

If you want other functionality, use the official cairo-dock Pidgin applet instead. However, that applet can no longer show the number of unread messages, as Pidgin no longer exports the "unseen-count" via DBus.
There is a workaround for the official applet if you download and compile this Pidgin plugin and modify the applet to use the new method name (self.purple.PurpleConversationGetUnseen(conv)), but that's more work.

Do we need this workaround if we want to use your applet? If no, how did you because it seems you're still using this 'unseen-count'

I just added this workaround in our Pidgin applet: https://github.com/Cairo-Dock/cairo-dock-plug-ins-extras/commit/7bd601f18563d143ed53edc07ab774fa29cc140b
If you see something better, please share your solution

exscape, Monday 29 December 2014 à 09:06


Subscription date : 15 December 2014
Messages : 3
matttbe :
Hello and thank you for this new Pidgin plugin

If you want other functionality, use the official cairo-dock Pidgin applet instead. However, that applet can no longer show the number of unread messages, as Pidgin no longer exports the "unseen-count" via DBus.
There is a workaround for the official applet if you download and compile this Pidgin plugin and modify the applet to use the new method name (self.purple.PurpleConversationGetUnseen(conv)), but that's more work.

Do we need this workaround if we want to use your applet? If no, how did you because it seems you're still using this 'unseen-count'

I just added this workaround in our Pidgin applet: https://github.com/Cairo-Dock/cairo-dock-plug-ins-extras/commit/7bd601f18563d143ed53edc07ab774fa29cc140b
If you see something better, please share your solution :-)

The unseen-count issue is only that it's not visible via DBus; it's still available "inside" Pidgin, so a Pidgin plugin (like the workaround hack or mine) can access it easily.
So I don't need it because my code runs inside Pidgin, while the cairo-dock applet needs it because it runs in cairo-dock.

matttbe, Tuesday 30 December 2014 à 05:24


Subscription date : 24 January 2009
Messages : 12573
The unseen-count issue is only that it's not visible via DBus; it's still available "inside" Pidgin, so a Pidgin plugin (like the workaround hack or mine) can access it easily.
So I don't need it because my code runs inside Pidgin, while the cairo-dock applet needs it because it runs in cairo-dock.

Ok, thank you for this explanation and your applet!

Applets | Applets

Subjects Author Language Messages Last message
[Locked] New Pidgin plugin (unread message count)
exscape English 3 matttbe [Read]
30 December 2014 à 05:24


Glx-Dock / Cairo-Dock List of forums Applets | Applets New Pidgin plugin (unread message count) Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.