Commit b357ff26 authored by Philipp Hörist's avatar Philipp Hörist

[appindicator] Make sure path is a string

In the future the configpaths module will return Path like objects
parent edd92e41
...@@ -86,7 +86,7 @@ class AppindicatorIntegrationPlugin(GajimPlugin): ...@@ -86,7 +86,7 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
self.indicator = appindicator.Indicator.new( self.indicator = appindicator.Indicator.new(
'Gajim', self.offline_icon, 'Gajim', self.offline_icon,
appindicator.IndicatorCategory.COMMUNICATIONS) appindicator.IndicatorCategory.COMMUNICATIONS)
self.indicator.set_icon_theme_path(configpaths.get('ICONS')) self.indicator.set_icon_theme_path(str(configpaths.get('ICONS')))
self.indicator.set_attention_icon_full('mail-unread', 'New Message') self.indicator.set_attention_icon_full('mail-unread', 'New Message')
self.indicator.set_status(appindicator.IndicatorStatus.ACTIVE) self.indicator.set_status(appindicator.IndicatorStatus.ACTIVE)
self.indicator.set_menu(self.menu) self.indicator.set_menu(self.menu)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment