Skip to content
Snippets Groups Projects
Verified Commit ebc1f377 authored by André's avatar André
Browse files

fix: Fix showing status icon on flatpak

AppIndicator cannot access files within the flatpak container.
parent 04412912
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,8 @@ class AppIndicatorIcon(GtkMenuBackend):
'Gajim',
'org.gajim.Gajim',
AppIndicator.IndicatorCategory.COMMUNICATIONS)
self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
if not app.is_flatpak():
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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment