[Sugar-devel] [PATCH] Record - Fix for ticket #2011
anishmangal2002 at gmail.com
anishmangal2002 at gmail.com
Tue Jun 8 16:12:11 EDT 2010
From: anishmangal2002 <anishmangal2002 at gmail.com>
Ctrl+w now exits the activity
Signed-off-by: anishmangal2002 <anishmangal2002 at gmail.com>
---
ui.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ui.py b/ui.py
index e723f66..c9ab664 100644
--- a/ui.py
+++ b/ui.py
@@ -741,6 +741,9 @@ class UI:
elif (keyname == 'i' and event.state == gtk.gdk.CONTROL_MASK):
if (not self.LIVEMODE):
self.infoButtonClicked()
+ elif (keyname == 'w' and event.state == gtk.gdk.CONTROL_MASK):
+ self.ca.close()
+
return False
--
1.7.0.4
More information about the Sugar-devel
mailing list