On 09/06/2012 06:05 PM, Manuel Quiñones wrote:
The convert script pygi-convert.sh commented out the call to
info.get_attach_points() in commit 820efa56
Signed-off-by: Manuel Quiñones <ma...@laptop.org>
---
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 24c1610..b6806cd 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
Awesome work Manuel, pushed with your testcase and closed the ticket.
Simon
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel