ui: correctly set icon theme value when regular battery icons are missiong
This commit is contained in:
parent
7e360e4416
commit
1cb8f0c874
|
@ -99,7 +99,7 @@ def _init_icon_paths():
|
||||||
if gtk.battery_icons_style == 'regular':
|
if gtk.battery_icons_style == 'regular':
|
||||||
if not _default_theme.has_icon('battery-good'):
|
if not _default_theme.has_icon('battery-good'):
|
||||||
_log.warning('failed to detect icons')
|
_log.warning('failed to detect icons')
|
||||||
gtk.battery_icons_style = 'none'
|
gtk.battery_icons_style = 'solaar'
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue