Fix the badge position at the icon attach point - SL #3835

The convert script pygi-convert.sh commented out the call to
info.get_attach_points() in commit 820efa56

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
Manuel Quiñones 2012-09-06 13:05:56 -03:00 committed by Simon Schampijer
parent bb515893ab
commit c0756f48d4

View File

@ -121,7 +121,7 @@ class _IconBuffer(object):
return self._loader.load(file_name, entities, self.cache) return self._loader.load(file_name, entities, self.cache)
def _get_attach_points(self, info, size_request): 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: if attach_points:
attach_x = float(attach_points[0].x) / size_request attach_x = float(attach_points[0].x) / size_request