Different base icon & setting
(cherry picked from commit dc61b61)
This commit is contained in:
1 parent
f69718b060
commit
2a67772f46
8 files changed
+112
-31
No files matched your search
@@ -90,6 +90,7 @@ def getSettings():
|
||||
"name": s.get(["appearance", "name"]),
|
||||
"color": s.get(["appearance", "color"]),
|
||||
"colorTransparent": s.getBoolean(["appearance", "colorTransparent"]),
|
||||
"colorIcon": s.getBoolean(["appearance", "colorIcon"]),
|
||||
"defaultLanguage": s.get(["appearance", "defaultLanguage"]),
|
||||
"showFahrenheitAlso": s.getBoolean(["appearance", "showFahrenheitAlso"])
|
||||
},
|
||||
@@ -371,6 +372,7 @@ def _saveSettings(data):
|
||||
if "name" in data["appearance"]: s.set(["appearance", "name"], data["appearance"]["name"])
|
||||
if "color" in data["appearance"]: s.set(["appearance", "color"], data["appearance"]["color"])
|
||||
if "colorTransparent" in data["appearance"]: s.setBoolean(["appearance", "colorTransparent"], data["appearance"]["colorTransparent"])
|
||||
if "colorIcon" in data["appearance"]: s.setBoolean(["appearance", "colorIcon"], data["appearance"]["colorIcon"])
|
||||
if "defaultLanguage" in data["appearance"]: s.set(["appearance", "defaultLanguage"], data["appearance"]["defaultLanguage"])
|
||||
if "showFahrenheitAlso" in data["appearance"]: s.setBoolean(["appearance", "showFahrenheitAlso"], data["appearance"]["showFahrenheitAlso"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user