diff options
author | Daniel Drake <dsd@laptop.org> | 2012-03-27 20:19:03 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2012-03-30 14:30:49 (GMT) |
commit | 26df35b0c02881864d0f47782f8ff5b5ce5e187c (patch) | |
tree | 4437c9b3945bd16a41022d6b4d497096d73b353e | |
parent | faee089475cd65219cec276e133f1407dc592ead (diff) |
keyhandler: Use textual key names, OLPC #11721
Conversion of 0x## keycodes is broken in libegg with recent GDK.
Switch to the textual names of the keys in question to work around this
bug, reference: https://bugzilla.gnome.org/show_bug.cgi?id=672950
This fixes the frame key on XO laptops running Fedora 17.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | src/jarabe/view/keyhandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/view/keyhandler.py b/src/jarabe/view/keyhandler.py index a71f260..530da75 100644 --- a/src/jarabe/view/keyhandler.py +++ b/src/jarabe/view/keyhandler.py @@ -51,11 +51,11 @@ _actions_table = { 'XF86AudioRaiseVolume': 'volume_up', '<alt>F11': 'volume_min', '<alt>F12': 'volume_max', - '0x93': 'frame', + 'XF86MenuKB': 'frame', '<alt>Tab': 'next_window', '<alt><shift>Tab': 'previous_window', '<alt>Escape': 'close_window', - '0xDC': 'open_search', + 'XF86WebCam': 'open_search', # the following are intended for emulator users '<alt><shift>f': 'frame', '<alt><shift>q': 'quit_emulator', |