[core/theme|output] Add separators
Add a way for themes to specify custom separators. Doing that, make nicer interfaces for drawing "supplementary" components (separators) for widgets and generalize the attribute retrieval within the theme.
This commit is contained in:
parent
d3fc648c08
commit
38410adcb8
6 changed files with 63 additions and 15 deletions
|
@ -15,6 +15,8 @@ class i3(unittest.TestCase):
|
|||
self.someModule = TestModule(widgets=[widget, widget, widget])
|
||||
|
||||
def test_start(self):
|
||||
core.event.clear()
|
||||
|
||||
all_data = self.i3.start()
|
||||
data = all_data['data']
|
||||
self.assertEqual(1, data['version'], 'i3bar protocol version 1 expected')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue