diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-21 10:42:47 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-21 10:42:47 (GMT) |
commit | 111da5911a82378e00839580f2877394d86a8114 (patch) | |
tree | 4bc4d65a44d62115a117c3c1e5def2588cfa8901 /sugar/graphics/popupcontext.py | |
parent | bbfe53942961640e01287cc345342fd790e083e9 (diff) |
Allow for having the popup positioning logic in PopupContext.
Diffstat (limited to 'sugar/graphics/popupcontext.py')
-rw-r--r-- | sugar/graphics/popupcontext.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/graphics/popupcontext.py b/sugar/graphics/popupcontext.py index 5dad58a..59fb16b 100644 --- a/sugar/graphics/popupcontext.py +++ b/sugar/graphics/popupcontext.py @@ -42,3 +42,6 @@ class PopupContext(gobject.GObject): def is_active(self): return self._active_control != None + + def get_position(self, control, popup): + return [None, None] |