From: Dana Jansens Date: Wed, 5 Feb 2003 07:29:24 +0000 (+0000) Subject: use a focuslabel X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=69d12b5ee2e8da238ac2fca5606cc25ddaa07523;p=chaz%2Fopenbox use a focuslabel --- 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()