diff options
author | Daniel Drake <dsd@laptop.org> | 2011-09-11 20:43:22 (GMT) |
---|---|---|
committer | Raul Gutierrez Segales <rgs@collabora.co.uk> | 2011-10-02 14:17:18 (GMT) |
commit | 6c94a65dd6b812519bbf19496cf0278e61450978 (patch) | |
tree | ac0780cee4e33e17829b18ebda7c4d4b6e461ef4 | |
parent | 3416c1c4b1a569814b3355f589d30920a6eaa8f8 (diff) |
CanvasIcon: remove activated signal
can't find any users of this. everyone hooks onto button-press-event.
-rw-r--r-- | src/sugar/graphics/icon.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py index 406762a..f4b125f 100644 --- a/src/sugar/graphics/icon.py +++ b/src/sugar/graphics/icon.py @@ -556,9 +556,6 @@ class Icon(gtk.Image): class CanvasIcon(gtk.EventBox): __gtype_name__ = 'CanvasIcon' - __gsignals__ = { - 'activated': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, [object]), - } def __init__(self, **kwargs): from sugar.graphics.palette import CanvasInvoker @@ -913,13 +910,6 @@ class CanvasIcon(gtk.EventBox): req.width = 0 req.height = 0 - def do_button_press_event(self, event): - if event.button == 1: - self.emit_activated() - return True - else: - return False - def create_palette(self): return None |