From 593d27770ddef26ba94eab1f3fc4b6a504e16663 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Sun, 4 Apr 2021 15:32:18 -0400 Subject: [PATCH] ui: only use first element of theme path for appindicator extra path --- lib/solaar/ui/tray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solaar/ui/tray.py b/lib/solaar/ui/tray.py index dffe2df4..d37f7188 100644 --- a/lib/solaar/ui/tray.py +++ b/lib/solaar/ui/tray.py @@ -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)