ui: only use first element of theme path for appindicator extra path

This commit is contained in:
Peter F. Patel-Schneider 2021-04-04 15:32:18 -04:00
parent 0dbb93e6a5
commit 593d27770d
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ try:
theme_paths = Gtk.IconTheme.get_default().get_search_path()
ind = AppIndicator3.Indicator.new_with_path(
'indicator-solaar', _icon_file(_icons.TRAY_INIT), AppIndicator3.IndicatorCategory.HARDWARE, ':'.join(theme_paths)
'indicator-solaar', _icon_file(_icons.TRAY_INIT), AppIndicator3.IndicatorCategory.HARDWARE, theme_paths[0]
)
ind.set_title(NAME)
ind.set_status(AppIndicator3.IndicatorStatus.ACTIVE)