Report unread messages count to Dash to Dock
k-kirill opened this issue · 4 comments
As Gnome Shell no longer supports system tray, it would be very handy to see the unread messages count in Dash to Dock akin to what Telegram desktop client provides. Thanks!
If Telegram desktop client does it itself, then this functionality must be implemented in the Pidgin itself.
The extension does not control how the Pidgin icon is displayed in the Gnome dash.
It is about using the following low level DBus API: com.canonical.Unity.LauncherEntry: https://wiki.ubuntu.com/Unity/LauncherAPI
So, we just need to emit the correspondent DBus signal when the number of unread messages changes like it is done in the following mpv plugin: https://github.com/mrlotfi/mpv-libunity
It is about using the following low level DBus API: com.canonical.Unity.LauncherEntry: https://wiki.ubuntu.com/Unity/LauncherAPI
The most interesting part:
While the libunity API is stable, the DBus protocol underneath is not. We strongly discourage anyone from relying on it
:)
Anyway, PR is welcome. Can you implement this?
I wish I could, but my coding skills leave a bit to be desired...