Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report unread messages count to Dash to Dock #55

Open
k-kirill opened this issue Aug 8, 2020 · 4 comments
Open

Report unread messages count to Dash to Dock #55

k-kirill opened this issue Aug 8, 2020 · 4 comments

Comments

@k-kirill
Copy link

k-kirill commented Aug 8, 2020

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!

@muffinmad
Copy link
Owner

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.

@k-kirill
Copy link
Author

k-kirill commented Oct 4, 2020

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

@muffinmad
Copy link
Owner

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?

@k-kirill
Copy link
Author

k-kirill commented Oct 7, 2020

I wish I could, but my coding skills leave a bit to be desired...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants