Add box property management
Widgets can be put in left, center or right box. Warning: right box is available (no error), but seems undefined (Gnome Shell 3.36)...
This commit is contained in:
@@ -45,7 +45,7 @@ class TimerThread(Thread):
|
||||
def _displayTimerValue(self):
|
||||
encoder = json.JSONEncoder()
|
||||
res = {'group':'Timer', 'items':[]}
|
||||
item = DBUSItem('timer', onClick='signal')
|
||||
item = DBUSItem('timer', onClick='signal', box='right')
|
||||
curValue = self.timers[self.curTimer]
|
||||
item.text = '%02d:%02d' % (int(curValue/60)%60, curValue%60)
|
||||
if curValue >= (60*60):
|
||||
|
Reference in New Issue
Block a user