[Sugar-devel] [PATCH sugar] Fix shortcut for view source

Simon Schampijer simon at schampijer.de
Mon Apr 16 04:42:39 EDT 2012


This is a follow up of 26df35b0c02881864d0f47782f8ff5b5ce5e187c,
OLPC #11721. You can now use again 'fn+space' to reveal the
source view of an activity. The keyname was determined using
xev.

Signed-off-by: Simon Schampijer <simon at laptop.org>
---
 extensions/globalkey/viewsource.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/globalkey/viewsource.py b/extensions/globalkey/viewsource.py
index 96e7c6b..e0f5ef8 100644
--- a/extensions/globalkey/viewsource.py
+++ b/extensions/globalkey/viewsource.py
@@ -19,7 +19,7 @@ from jarabe.view.viewsource import setup_view_source
 from jarabe.model import shell
 
 
-BOUND_KEYS = ['0xEC', '<alt><shift>v']
+BOUND_KEYS = ['XF86KbdLightOnOff', '<alt><shift>v']
 
 
 def handle_key_press(key):
-- 
1.7.7.6



More information about the Sugar-devel mailing list