Ticket #2108: 0001-Add-frame-and-journal-keybindings.patch

File 0001-Add-frame-and-journal-keybindings.patch, 1.0 KB (added by dsd, 14 years ago)
  • src/jarabe/view/keyhandler.py

    From 66855e424c2b1098a1fe0d785540fad67c5bc709 Mon Sep 17 00:00:00 2001
    From: Daniel Drake <dsd@laptop.org>
    Date: Tue, 20 Jul 2010 09:05:38 -0600
    Subject: [PATCH] Add frame and journal keybindings
    
    Use F5 to open the journal and F6 to open the frame.
    This matches the design of the XO-HS non-membrane keyboard and will
    also be useful for other users.
    ---
     src/jarabe/view/keyhandler.py |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    diff --git a/src/jarabe/view/keyhandler.py b/src/jarabe/view/keyhandler.py
    index 8c07975..8a85ac7 100644
    a b _actions_table = { 
    4141    'F2'                   : 'zoom_group',
    4242    'F3'                   : 'zoom_home',
    4343    'F4'                   : 'zoom_activity',
     44    'F5'                   : 'open_search',
     45    'F6'                   : 'frame',
    4446    'XF86AudioMute'        : 'volume_mute',
    4547    'F11'                  : 'volume_down',
    4648    'XF86AudioLowerVolume' : 'volume_down',