[Sugar-devel] [PATCH] Record - Fix for ticket #2011
Gary Martin
garycmartin at gmail.com
Tue Jun 8 19:36:14 EDT 2010
Hi Anish,
Big thanks for all your efforts! Just wanted to double check on this patch though.
On 8 Jun 2010, at 21:12, anishmangal2002 at gmail.com wrote:
> From: anishmangal2002 <anishmangal2002 at gmail.com>
>
> Ctrl+w now exits the activity
Why Ctrl+w? The two standards for quitting an activity in Sugar are Ctrl+q, and Alt+Esc.
Regards,
--Gary
P.S all your patch efforts are putting me to shame, I must get out an update to Physics!
> Signed-off-by: anishmangal2002 <anishmangal2002 at gmail.com>
> ---
> ui.py | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/ui.py b/ui.py
> index e723f66..c9ab664 100644
> --- a/ui.py
> +++ b/ui.py
> @@ -741,6 +741,9 @@ class UI:
> elif (keyname == 'i' and event.state == gtk.gdk.CONTROL_MASK):
> if (not self.LIVEMODE):
> self.infoButtonClicked()
> + elif (keyname == 'w' and event.state == gtk.gdk.CONTROL_MASK):
> + self.ca.close()
> +
>
> return False
>
> --
> 1.7.0.4
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
More information about the Sugar-devel
mailing list