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:
Jatin K Malik
2026-10-25 14:49:34 -07:00
committed by GitHub
parent 9b4aded3a2
commit 750d64dc9b
10 changed files with 730 additions and 59 deletions
+4
View File
@@ -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