From c0756f48d4f75702e3d419c1737cfdd837dd9ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Thu, 6 Sep 2012 13:05:56 -0300 Subject: [PATCH] Fix the badge position at the icon attach point - SL #3835 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The convert script pygi-convert.sh commented out the call to info.get_attach_points() in commit 820efa56 Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- src/sugar3/graphics/icon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar3/graphics/icon.py b/src/sugar3/graphics/icon.py index eca69012..f3bcb061 100644 --- a/src/sugar3/graphics/icon.py +++ b/src/sugar3/graphics/icon.py @@ -121,7 +121,7 @@ class _IconBuffer(object): return self._loader.load(file_name, entities, self.cache) def _get_attach_points(self, info, size_request): - return 0,0;has_attach_points_, attach_points = info.get_attach_points() + has_attach_points_, attach_points = info.get_attach_points() if attach_points: attach_x = float(attach_points[0].x) / size_request