From 3ce3ed282b4cd8731f20d89c0b8bf5918a543eaa Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 28 Jun 2012 11:40:55 +0000 Subject: EventIcon: remove the 'activated' signal The 'activated' signal was available in the hippo-based API. With the EventIcon being based on the EventBox we can use the 'button-release-event' instead. Grepping the code we actually used the 'activated' signal in one place in the shell in the MeshBox. --- diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py index 2fd136e..1cf5b68 100644 --- a/src/sugar/graphics/icon.py +++ b/src/sugar/graphics/icon.py @@ -476,9 +476,6 @@ class Icon(gtk.Image): class EventIcon(gtk.EventBox): __gtype_name__ = 'SugarEventIcon' - __gsignals__ = { - 'activated': (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, []), - } def __init__(self, **kwargs): from sugar.graphics.palette import CanvasInvoker -- cgit v0.9.1