diff options
author | Dan Williams <dcbw@redhat.com> | 2007-03-15 20:56:29 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-03-15 20:56:29 (GMT) |
commit | 4371fb08832dc660150375cab15aece896656e64 (patch) | |
tree | 49dd62c82154067128637e4fe8e334c1817c79df /sugar | |
parent | 85961004bb56492bc343d5e51e056d62ae1d3166 (diff) |
Update another get_width_request() for new hippo
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/graphics/canvasicon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/graphics/canvasicon.py b/sugar/graphics/canvasicon.py index 03b0d2b..23ac60d 100644 --- a/sugar/graphics/canvasicon.py +++ b/sugar/graphics/canvasicon.py @@ -374,7 +374,8 @@ class CanvasIcon(hippo.CanvasBox, hippo.CanvasItem): # TODO: Any better place to do this? [min_width, natural_width] = self.get_width_request() - popup.props.box_width = max(popup.get_width_request(), min_width) + [pop_min_width, pop_natural_width] = popup.get_width_request() + popup.props.box_width = max(pop_min_width, min_width) [width, height] = self.get_allocation() y += height |