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

Tomeu Vizoso tomeu
Tue Jun 10 04:40:24 EDT 2008


r+

As there are no code changes, I think that patches like this can get
into the repo just with Eben's approval.

Thanks,

Tomeu

On Mon, Jun 9, 2008 at 8:45 AM, Martin Dengler <martin at martindengler.com> wrote:
> Eben transferred this ticket to Sugar saying he's OK with these
> changes.  Can someone review please?
>
> I can email support@ or sugar@ or other mailing lists (suggestions
> welcome) about corrdinating the wiki / other documentation changes
> once that's done.
>
> Martin
>
> On Tue, Apr 29, 2008 at 09:45:06PM +0100, Martin Dengler wrote:
>> ---
>>  src/view/keyhandler.py |   25 ++++++++++++-------------
>>  1 files changed, 12 insertions(+), 13 deletions(-)
>>
>> diff --git a/src/view/keyhandler.py b/src/view/keyhandler.py
>> index 306bb21..219cc5e 100644
>> --- a/src/view/keyhandler.py
>> +++ b/src/view/keyhandler.py
>> @@ -40,26 +40,25 @@ _actions_table = {
>>      'F4'             : 'zoom_activity',
>>      'F9'             : 'brightness_down',
>>      'F10'            : 'brightness_up',
>> -    '<ctrl>F9'       : 'brightness_min',
>> -    '<ctrl>F10'      : 'brightness_max',
>> +    '<alt>F9'        : 'brightness_min',
>> +    '<alt>F10'       : 'brightness_max',
>>      'F11'            : 'volume_down',
>>      'F12'            : 'volume_up',
>> -    '<ctrl>F11'      : 'volume_min',
>> -    '<ctrl>F12'      : 'volume_max',
>> +    '<alt>F11'       : 'volume_min',
>> +    '<alt>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',
>> -    '<ctrl>Escape'   : 'close_window',
>> -    '<ctrl>q'        : 'close_window',
>> +    '<alt><shift>Tab': 'previous_window',
>> +    '<alt>Escape'    : 'close_window',
>>      '0xDC'           : 'open_search',
>> -    '<alt>s'         : 'say_text'
>> +# the following are intended for emulator users
>> +    '<alt><shift>f'  : 'frame',
>> +    '<alt><shift>q'  : 'quit_emulator',
>> +    '<alt><shift>o'  : 'open_search',
>> +    '<alt><shift>r'  : 'rotate',
>> +    '<alt><shift>s'  : 'say_text',
>>  }
>>
>>  J_DBUS_SERVICE = 'org.laptop.Journal'
>
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
>



More information about the Sugar-devel mailing list