From 4371fb08832dc660150375cab15aece896656e64 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 15 Mar 2007 16:56:29 -0400 Subject: [PATCH] Update another get_width_request() for new hippo --- sugar/graphics/canvasicon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sugar/graphics/canvasicon.py b/sugar/graphics/canvasicon.py index 03b0d2be..23ac60db 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