summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-02 23:24:44 +0000
committerDana Jansens <danakj@orodu.net>2003-02-02 23:24:44 +0000
commit6eae9223a110f620c565c8c5a4e6b43d9f87b7d3 (patch)
tree87cc55294ed8752e6d10d1586e07656287163bcf
parentfd96ddd82e6c65de6a23141a53a4d544668fd11d (diff)
show the widget after moving it
-rw-r--r--scripts/motion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/motion.py b/scripts/motion.py
index 9c8aa27c..35845b62 100644
--- a/scripts/motion.py
+++ b/scripts/motion.py
@@ -115,7 +115,6 @@ def _do_move():
_popwidget.setTexture(style.titlebarFocusBackground())
_poplabel = otk.Label(_popwidget)
_poplabel.setTexture(style.labelFocusBackground())
- _popwidget.show(1)
_poplabel.fitString(text)
_poplabel.setText(text)
area = otk.display.screenInfo(_screen).rect()
@@ -124,6 +123,7 @@ def _do_move():
_popwidget.width()) / 2,
area.y() + (area.height() -
_popwidget.height()) / 2)
+ _popwidget.show(1)
def move(data):
"""Moves the window interactively. This should only be used with