From 69d12b5ee2e8da238ac2fca5606cc25ddaa07523 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 5 Feb 2003 07:29:24 +0000 Subject: [PATCH] use a focuslabel --- scripts/motion.py | 8 ++++---- 1 file 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() -- 2.39.2