From 299f7ad213532a76d748ce5ef02e7a147b75c1fc Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 Feb 2003 01:17:38 +0000 Subject: [PATCH] position is a function --- scripts/motion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/motion.py b/scripts/motion.py index cc17803b..0ce865a3 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -105,8 +105,8 @@ def _place_popup(): except: x = y = 0 if x < 0: x += area.right() - size.width() + 2 if y < 0: y += area.bottom() - size.height() + 2 - x += area.position.x() - y += area.position.y() + x += area.position().x() + y += area.position().y() _popwidget.moveresize(otk.Rect(x, y, size.width(), size.height())) def _motion_grab(data): -- 2.39.2