Philipp Hörist pushed to branch master at gajim / gajim
Commits:
d3c1bdc3 by Philipp Hörist at 2024-09-11T15:28:17+00:00
revert: StatusIcon: Use get_application_id for Gajim icon
- - - - -
1 changed file:
- gajim/gtk/status_icon.py
Changes:
=====================================
gajim/gtk/status_icon.py
=====================================
@@ -295,9 +295,8 @@ def __init__(self) -> None:
assert AppIndicator is not None
self._status_icon = AppIndicator.Indicator.new(
'Gajim',
- app.app.get_application_id() or 'org.gajim.Gajim',
- AppIndicator.IndicatorCategory.COMMUNICATIONS
- )
+ 'org.gajim.Gajim',
+ AppIndicator.IndicatorCategory.COMMUNICATIONS)
if not app.is_flatpak():
self._status_icon.set_icon_theme_path(str(configpaths.get('ICONS')))
self._status_icon.set_status(AppIndicator.IndicatorStatus.ACTIVE)
@@ -322,10 +321,7 @@ def update_state(self, init: bool = False) -> None:
return
if app.is_flatpak():
- self._status_icon.set_icon_full(
- app.app.get_application_id() or 'org.gajim.Gajim',
- 'online'
- )
+ self._status_icon.set_icon_full('org.gajim.Gajim', 'online')
return
show = get_global_show()
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d3c1bdc37884a49d2ce037178465cec8b03668d7
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d3c1bdc37884a49d2ce037178465cec8b03668d7
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]