diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-06-19 12:23:04 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-07-01 13:12:51 (GMT) |
commit | e2ab351b367e6b95fcd3ba385bb29ecb7453b2d0 (patch) | |
tree | d9cf7b5315e5f9e162034a84c41398e0a1555607 /src | |
parent | 5186c941f00fce5ea05bbc47f638d7476676bfc3 (diff) |
Set default accelerators for Copy and Paste buttons
Diffstat (limited to 'src')
-rw-r--r-- | src/sugar/activity/widgets.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py index 6cfd33b..ed80a03 100644 --- a/src/sugar/activity/widgets.py +++ b/src/sugar/activity/widgets.py @@ -108,6 +108,7 @@ class CopyButton(ToolButton): def __init__(self, **kwargs): ToolButton.__init__(self, 'edit-copy', **kwargs) self.props.tooltip = _('Copy') + self.props.accelerator = '<Ctrl>C' class PasteButton(ToolButton): @@ -115,6 +116,7 @@ class PasteButton(ToolButton): def __init__(self, **kwargs): ToolButton.__init__(self, 'edit-paste', **kwargs) self.props.tooltip = _('Paste') + self.props.accelerator = '<Ctrl>V' class ShareButton(RadioMenuButton): |