ui: correctly set icon theme value when regular battery icons are missiong

This commit is contained in:
Peter F. Patel-Schneider
2021-04-07 19:56:27 -04:00
parent 7e360e4416
commit 1cb8f0c874

View File

@@ -99,7 +99,7 @@ def _init_icon_paths():
if gtk.battery_icons_style == 'regular':
if not _default_theme.has_icon('battery-good'):
_log.warning('failed to detect icons')
gtk.battery_icons_style = 'none'
gtk.battery_icons_style = 'solaar'
#