Modernize tray icon: use AyatanaAppIndicator3 (SNI)#441
Open
mikhailnov wants to merge 1 commit into
Open
Conversation
- Replace deprecated Gtk.StatusIcon (XEmbed) with AyatanaAppIndicator3 (StatusNotifierItem protocol), shown natively in KDE Plasma and other modern desktops. The old XEmbed-based icon was not displayed in KDE Plasma 6, which dropped support for legacy system tray icons. - Use icon names from system theme: printer, printer-printing, printer-error, printer-warning - Support left-click (Activate signal, libayatana-appindicator >= 0.6.0) and tooltip (set_tooltip_title) with graceful fallback on older versions - Lazy import of AyatanaAppIndicator3 (only when applet mode is used) - Enable autostart in KDE (remove from NotShowIn in print-applet.desktop.in) Co-authored-by: Z.AI GLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Z.AI GLM
We in ROSA and MOS decided to use system-config-printer in KDE 6 out of the box, not KDE's print-manager, because s-c-p works better in adding printers and has integration with polkit. print-manager will require a lot of attention to start working not worse.
CC @alexpevzner