Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/python/Plugins/SystemPlugins/SkinConfig/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,15 @@ def createSetup(self):
colors = file_tree.get("Colors", {})
if colors:
configlist.append(("Colors",))
configlist.append(("---",))
configlist.append((" " + _("Color Theme"), self.color_scheme, _("Pick an option. After selection is saved GUI should be restarted to accept the changes.")))
configlist.append((" " + _("Color Theme"), self.color_scheme, _("Pick an option. After selection is saved GUI should be restarted to accept the changes.")))
has_one = True
screens = file_tree.get("Screens", {})
if screens:
if has_one:
configlist.append(("---",))
configlist.append(("Screens",))
configlist.append(("---",))
for key, value in screens.items():
configlist.append((" " + key, getattr(self, f"screen_{key.lower().replace(" ", "_")}"), _("Pick an option. After selection is saved GUI should be restarted to accept the changes.")))
configlist.append((" " + key, getattr(self, f"screen_{key.lower().replace(" ", "_")}"), _("Pick an option. After selection is saved GUI should be restarted to accept the changes.")))
self["config"].list = configlist

def keySave(self):
Expand Down