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
|
|
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! |
|