From 72d36cc964de54403af5257c2b2da81c1e83326e Mon Sep 17 00:00:00 2001 From: Ryan Van Date: Tue, 3 Mar 2020 20:56:25 -0800 Subject: [PATCH] Add RedoButton accelerator - use ctrl+y to be consistent with Write Activity, - a design discussion gave no responses, http://lists.sugarlabs.org/archive/sugar-devel/2020-March/057832.html Signed-off-by: James Cameron --- src/sugar3/activity/widgets.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 src/sugar3/activity/widgets.py diff --git a/src/sugar3/activity/widgets.py b/src/sugar3/activity/widgets.py old mode 100644 new mode 100755 index 7982489e..ae829dc3 --- a/src/sugar3/activity/widgets.py +++ b/src/sugar3/activity/widgets.py @@ -108,6 +108,7 @@ class RedoButton(ToolButton): def __init__(self, **kwargs): ToolButton.__init__(self, 'edit-redo', **kwargs) self.props.tooltip = _('Redo') + self.props.accelerator = 'Y' class CopyButton(ToolButton):