]> Dogcows Code - chaz/openbox/commitdiff
use a focuslabel
authorDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 07:29:24 +0000 (07:29 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 07:29:24 +0000 (07:29 +0000)
scripts/motion.py

index cdfb9477539822d60e88ab03d4bd84ca58b90e3c..c32c1e62a7fe86c014253a5c6af6a030ebef1432 100644 (file)
@@ -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()
This page took 0.021921 seconds and 4 git commands to generate.