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

2012-04-20 Thread Simon Schampijer
On 04/19/2012 04:16 PM, Daniel Drake wrote: On Mon, Apr 16, 2012 at 8:02 AM, Sascha Silbesi...@activitycentral.com wrote: Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS =

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

2012-04-19 Thread Daniel Drake
On Mon, Apr 16, 2012 at 8:02 AM, Sascha Silbe si...@activitycentral.com wrote: Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS = ['XF86KbdLightOnOff', 'altshiftv'] Is Keyboard light

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

2012-04-18 Thread Simon Schampijer
On 04/16/2012 04:02 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS = ['XF86KbdLightOnOff', 'altshiftv'] Is Keyboard light on/off really a key that we want to

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

2012-04-16 Thread Simon Schampijer
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 si...@laptop.org --- extensions/globalkey/viewsource.py |2 +- 1

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

2012-04-16 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS = ['XF86KbdLightOnOff', 'altshiftv'] Is Keyboard light on/off really a key that we want to trigger View Source? Maybe it's what current