use a focuslabel
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
scripts/motion.py
→
scripts/motion.py
@@ -149,8 +149,8 @@ _popwidget = otk.Widget(ob.openbox, style,
otk.Widget.Horizontal, 0, style.bevelWidth(), 1) _popwidget.setTexture(style.titlebarFocusBackground()) - _poplabel = otk.Label(_popwidget) - _poplabel.setTexture(style.labelFocusBackground()) + _poplabel = otk.FocusLabel(_popwidget) + _poplabel.focus() _poplabel.fitString(text) _poplabel.setText(text) _popwidget.update()@@ -238,8 +238,8 @@ _popwidget = otk.Widget(ob.openbox, style,
otk.Widget.Horizontal, 0, style.bevelWidth(), 1) _popwidget.setTexture(style.titlebarFocusBackground()) - _poplabel = otk.Label(_popwidget) - _poplabel.setTexture(style.labelFocusBackground()) + _poplabel = otk.FocusLabel(_popwidget) + _poplabel.focus() _poplabel.fitString(text) _poplabel.setText(text) area = otk.display.screenInfo(_screen).rect()