[sugar] [PATCH] fix #4646 - replace/normalize some keyboard shortcuts

Martin Dengler martin
Sat Apr 26 13:48:38 EDT 2008


---
 src/view/keyhandler.py |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/view/keyhandler.py b/src/view/keyhandler.py
index 38f8a22..b10ee60 100644
--- a/src/view/keyhandler.py
+++ b/src/view/keyhandler.py
@@ -47,19 +47,17 @@ _actions_table = {
     '<ctrl>F11'      : 'volume_min',
     '<ctrl>F12'      : 'volume_max',
     '<alt>1'         : 'screenshot',
-    '<alt>f'         : 'frame',
     '0x93'           : 'frame',
     '0xEB'           : 'rotate',
-    '<alt>r'         : 'rotate',
-    '<alt>q'         : 'quit_emulator',
     '<alt>Tab'       : 'next_window',
-    '<alt>n'         : 'next_window',
-    '<ctrl><alt>Tab' : 'previous_window',
-    '<alt>p'         : 'previous_window',
+    '<alt><shift>Tab': 'previous_window',
     '<ctrl>Escape'   : 'close_window',
-    '<ctrl>q'        : 'close_window',
     '0xDC'           : 'open_search',
-    '<alt>s'         : 'say_text'
+    # the following are intended for emulator users, not XO deployment kids
+    '<alt><shift>f'  : 'frame',
+    '<alt><shift>q'  : 'quit_emulator',
+    '<alt><shift>r'  : 'rotate',
+    '<alt><shift>s'  : 'say_text',
 }
 
 J_DBUS_SERVICE = 'org.laptop.Journal'
-- 
1.5.4.1




More information about the Sugar-devel mailing list