Philipp Hörist pushed to branch master at gajim / gajim
Commits:
8f6c3ea1 by Philipp Hörist at 2024-09-14T11:36:24+02:00
cfix: Flatpak: Fix showing appindicator icons
- - - - -
1 changed file:
- gajim/gtk/status_icon.py
Changes:
=====================================
gajim/gtk/status_icon.py
=====================================
@@ -299,7 +299,11 @@ def __init__(self) -> None:
icon_name,
AppIndicator.IndicatorCategory.COMMUNICATIONS)
- self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
+ if not app.is_flatpak():
+ # On flatpak other apps don’t have access to this path
+ # Apps can only use exported icons
+
self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
+
self._status_icon.set_status(AppIndicator.IndicatorStatus.ACTIVE)
self._status_icon.set_menu(self._ui.systray_context_menu)
self._status_icon.set_secondary_activate_target(
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/8f6c3ea1e38e796dfb0e3d672a13cf9ee4ea66f1
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/8f6c3ea1e38e796dfb0e3d672a13cf9ee4ea66f1
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]