From a9c1c3581ac739d766f2704a0c2e29b0791f546e Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 22 Feb 2020 14:11:10 +0100 Subject: [PATCH] [core/theme] Iconset needs to be auto by default --- core/theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/theme.py b/core/theme.py index 6904157..02619e8 100644 --- a/core/theme.py +++ b/core/theme.py @@ -13,7 +13,7 @@ PATHS=[ ] class Theme(object): - def __init__(self, name='default', iconset=None, raw_data=None): + def __init__(self, name='default', iconset='auto', raw_data=None): self.name = name self.__widget_count = 0 if raw_data: @@ -22,7 +22,7 @@ class Theme(object): self.__data = self.load(name) for icons in self.__data['icons']: util.algorithm.merge(self.__data, self.load(icons, 'icons')) - if iconset: + if iconset != 'auto': util.algorithm.merge(self.__data, self.load(iconset, 'icons')) core.event.register('update', self.__start)