diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-05 07:29:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-05 07:29:24 +0000 |
| commit | 69d12b5ee2e8da238ac2fca5606cc25ddaa07523 (patch) | |
| tree | 6b71b25ad4f6ef3faf3561fb63d08834a4be0fec /scripts/motion.py | |
| parent | cdd260ab2edafdc520aa4bfc01de21fac1ca130d (diff) | |
use a focuslabel
Diffstat (limited to 'scripts/motion.py')
| -rw-r--r-- | scripts/motion.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/motion.py b/scripts/motion.py index cdfb9477..c32c1e62 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -149,8 +149,8 @@ def _do_move(): 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 @@ def _do_resize(): 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() |
