Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-03-14 02:19:24 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-03-14 02:19:24 (GMT)
commit4960ddae252c6b6a41a510b8963d026d9e9b13bc (patch)
treed4a9c073413c50a740b83075bbfb555edc6a04ae /shell
parent9d8fa7d42ab1f049cc1320c4b1d1700178059348 (diff)
Adapt to the new hippo canvas sizing API
Diffstat (limited to 'shell')
-rw-r--r--shell/view/frame/framepopupcontext.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/view/frame/framepopupcontext.py b/shell/view/frame/framepopupcontext.py
index 63304cc..34a57fe 100644
--- a/shell/view/frame/framepopupcontext.py
+++ b/shell/view/frame/framepopupcontext.py
@@ -32,7 +32,9 @@ class FramePopupContext(PopupContext):
def get_position(self, control, popup):
[item_x, item_y] = control.get_context().translate_to_screen(control)
[item_w, item_h] = control.get_allocation()
- [popup_w, popup_h] = popup.get_request()
+
+ [popup_w, natural_w] = popup.get_width_request()
+ [popup_h, natural_h] = popup.get_height_request(popup_w)
left_x = item_x + item_w
left_y = item_y