[core/theme] Add support for icon themes

Allow sub-themes ("iconsets") to be merged into the "main" theme. That
way, effectively, it's possible to define colors and icons in separate
JSON files.

see #23
This commit is contained in:
Tobi-wan Kenobi 2016-12-08 12:09:21 +01:00
parent 394ef61760
commit 562fd85ca2
5 changed files with 71 additions and 15 deletions

View file

@ -22,10 +22,17 @@ class MockOutput(object):
class MockWidget(object):
def __init__(self, text):
self._text = text
self._module = None
def set_module(self, name):
self._module = name
def update(self, widgets):
pass
def module(self):
return self._module
def full_text(self):
return self._text