Subject: [PATCH] Set default accelerators for Copy and Paste buttons

From: Bernie Innocenti <[email-masked]>
Date: Sat, 19 Jun 2010 08:23:04 -0400

---
 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 83b689c..f89ac1f 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):
-- 
1.7.1