fix(tray): prefer libayatana-appindicator-glib when available (#1019)
Use the maintained AyatanaAppIndicatorGlib 2.0 indicator when it is installed, mirroring the existing Gtk.Menu into a Gio.Menu whose actions keep stable, never-reused names and fire the original items. Fall back to the GTK 3 indicators otherwise; the AppImage stays on its bundled GTK 3 indicator, and the .deb recommends the glib typelib. Fixes #1013
This commit is contained in:
@@ -82,6 +82,10 @@ overrides:
|
||||
- ibus
|
||||
# Desktop notifications.
|
||||
- gir1.2-notify-0.7
|
||||
# Tray backend the app prefers when present: libayatana-appindicator
|
||||
# (GTK 3) logs a deprecation warning at startup. Debian 13+ ships it;
|
||||
# apt skips the recommendation where it does not exist (Debian 12).
|
||||
- gir1.2-ayatanaappindicatorglib-2.0
|
||||
rpm:
|
||||
depends:
|
||||
- python3 >= 3.11
|
||||
|
||||
Reference in New Issue
Block a user