diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-06-27 16:04:00 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-06-27 16:04:00 (GMT) |
commit | 434b1e5899eb81ef0f34cc9172428896a2278033 (patch) | |
tree | 78014145f4b80531f7e0c4ccdc8aa2f5f4ddd097 /src/sugar/graphics/icon.py | |
parent | 985edb0e4db5b0579373d140d3a34f2fa1428360 (diff) |
Handle cell activation by button-release
Diffstat (limited to 'src/sugar/graphics/icon.py')
-rw-r--r-- | src/sugar/graphics/icon.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sugar/graphics/icon.py b/src/sugar/graphics/icon.py index 223ec98..fff0a1a 100644 --- a/src/sugar/graphics/icon.py +++ b/src/sugar/graphics/icon.py @@ -1033,10 +1033,12 @@ class CellRendererIcon(gtk.GenericCellRenderer): return xoffset, yoffset, width, height - def on_activate(self, event, widget, path, background_area, cell_area, flags): - self.emit('activate', path) + def on_activate(self, event, widget, path, background_area, cell_area, + flags): + pass - def on_start_editing(self, event, widget, path, background_area, cell_area, flags): + def on_start_editing(self, event, widget, path, background_area, cell_area, + flags): pass def _is_prelit(self, tree_view): |