Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPootle daemon <pootle@pootle.sugarlabs.org>2011-07-30 04:31:13 (GMT)
committer Pootle daemon <pootle@pootle.sugarlabs.org>2011-07-30 04:31:13 (GMT)
commitb54ad1c5e784199faeb99fd4766ff6dc00352fa2 (patch)
treec8052f691a7370160cadb0f2badc1a6b24166413
parentfdc0563d6273f0764e498f9832a570fbed1e7aad (diff)
parentda4bbf398c5534cb28c6972879fe387470919a81 (diff)
Merge branch 'master' of git.sugarlabs.org:speak/mainline
-rw-r--r--toolkit/activity_widgets.py24
1 files changed, 1 insertions, 23 deletions
diff --git a/toolkit/activity_widgets.py b/toolkit/activity_widgets.py
index 50e2c6c..ce1007e 100644
--- a/toolkit/activity_widgets.py
+++ b/toolkit/activity_widgets.py
@@ -159,24 +159,6 @@ class ShareButton(RadioMenuButton):
self.neighborhood.handler_unblock(self._neighborhood_handle)
-class KeepButton(ToolButton):
-
- def __init__(self, activity, **kwargs):
- ToolButton.__init__(self, **kwargs)
- self.props.tooltip = _('Keep')
- self.props.accelerator = '<Ctrl>S'
-
- color = profile.get_color()
- keep_icon = Icon(icon_name='document-save', xo_color=color)
- keep_icon.show()
-
- self.set_icon_widget(keep_icon)
- self.connect('clicked', self.__keep_button_clicked_cb, activity)
-
- def __keep_button_clicked_cb(self, button, activity):
- activity.copy()
-
-
class TitleEntry(gtk.ToolItem):
def __init__(self, activity, **kwargs):
@@ -222,7 +204,7 @@ class TitleEntry(gtk.ToolItem):
class ActivityToolbar(gtk.Toolbar):
"""The Activity toolbar with the Journal entry title, sharing,
- Keep and Stop buttons
+ and Stop buttons
All activities should have this toolbar. It is easiest to add it to your
Activity by using the ActivityToolbox.
@@ -250,10 +232,6 @@ class ActivityToolbar(gtk.Toolbar):
self.share.show()
self.insert(self.share, -1)
- self.keep = KeepButton(activity)
- self.insert(self.keep, -1)
- self.keep.show()
-
self.stop = StopButton(activity)
self.insert(self.stop, -1)
self.stop.show()