[ocrfeeder] customWidgets: Remove the shortcut to select all areas from the SelectableBoxesArea
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] customWidgets: Remove the shortcut to select all areas from the SelectableBoxesArea
- Date: Mon, 28 Jun 2010 09:53:47 +0000 (UTC)
commit dfbab8ad396e3f59bcf5f18035481bfb86dc2744
Author: Joaquim Rocha <jrocha igalia com>
Date: Mon Jun 28 11:50:46 2010 +0200
customWidgets: Remove the shortcut to select all areas from the SelectableBoxesArea
This action is now a GtkAction already with its accelerator.
studio/customWidgets.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/studio/customWidgets.py b/studio/customWidgets.py
index 0a6480a..51d181f 100644
--- a/studio/customWidgets.py
+++ b/studio/customWidgets.py
@@ -288,8 +288,6 @@ class SelectableBoxesArea(goocanvas.Canvas):
selected_area = self.selected_areas.pop(0)
selected_area.remove()
self.emit('removed_box', selected_area)
- elif key_name == 'a' and event.state == gtk.gdk.CONTROL_MASK:
- self.selectAllAreas()
def pressedKeyOnImage(self, item, rect, event):
key_name = gtk.gdk.keyval_name(event.keyval).lower()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]