Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2012-04-16 08:39:42 (GMT)
committer Simon Schampijer <simon@schampijer.de>2012-04-20 10:46:01 (GMT)
commit70c26fe47618d0e07d3e7925abdd1a053469be03 (patch)
tree5cfa5c983b192c14f20b71b5fbb30ff6d5c0629e
parent8f6b7c37d6637a0ebe49a1ff454f9b67f8410067 (diff)
Fix shortcut for view source
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. This is only a workaround bug OLPC #11721. As Sascha pointed out the key mappings could be clearer, a follow up task to review the key mappings has been filed as OLPC #11788. Signed-off-by: Simon Schampijer <simon@laptop.org> Reviewed-by: Daniel Drake <dsd@laptop.org>
-rw-r--r--extensions/globalkey/viewsource.py2
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):