[appindicator] Make sure path is a string

In the future the configpaths module will return Path like objects
This commit is contained in:
lovetox
2020-06-28 20:58:41 +02:00
parent edd92e41a5
commit b357ff2646

View File

@@ -86,7 +86,7 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
self.indicator = appindicator.Indicator.new(
'Gajim', self.offline_icon,
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_status(appindicator.IndicatorStatus.ACTIVE)
self.indicator.set_menu(self.menu)