Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel 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)
commit6c94a65dd6b812519bbf19496cf0278e61450978 (patch)
treeac0780cee4e33e17829b18ebda7c4d4b6e461ef4
parent3416c1c4b1a569814b3355f589d30920a6eaa8f8 (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.py10
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