<br><br><div class="gmail_quote">On Wed, Jul 27, 2011 at 12:07 PM,  <span dir="ltr"><<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

From: Gonzalo Odiard <<a href="mailto:godiard@gmail.com">godiard@gmail.com</a>><br>
<br>
---<br>
 toolkit/activity_widgets.py |   24 +-----------------------<br>
 1 files changed, 1 insertions(+), 23 deletions(-)<br>
<br>
diff --git a/toolkit/activity_widgets.py b/toolkit/activity_widgets.py<br>
index 50e2c6c..ce1007e 100644<br>
--- a/toolkit/activity_widgets.py<br>
+++ b/toolkit/activity_widgets.py<br>
@@ -159,24 +159,6 @@ class ShareButton(RadioMenuButton):<br>
             self.neighborhood.handler_unblock(self._neighborhood_handle)<br>
<br>
<br>
-class KeepButton(ToolButton):<br>
-<br>
-    def __init__(self, activity, **kwargs):<br>
-        ToolButton.__init__(self, **kwargs)<br>
-        self.props.tooltip = _('Keep')<br>
-        self.props.accelerator = '<Ctrl>S'<br>
-<br>
-        color = profile.get_color()<br>
-        keep_icon = Icon(icon_name='document-save', xo_color=color)<br>
-        keep_icon.show()<br>
-<br>
-        self.set_icon_widget(keep_icon)<br>
-        self.connect('clicked', self.__keep_button_clicked_cb, activity)<br>
-<br>
-    def __keep_button_clicked_cb(self, button, activity):<br>
-        activity.copy()<br>
-<br>
-<br>
 class TitleEntry(gtk.ToolItem):<br>
<br>
     def __init__(self, activity, **kwargs):<br>
@@ -222,7 +204,7 @@ class TitleEntry(gtk.ToolItem):<br>
<br>
 class ActivityToolbar(gtk.Toolbar):<br>
     """The Activity toolbar with the Journal entry title, sharing,<br>
-       Keep and Stop buttons<br>
+       and Stop buttons<br>
<br>
     All activities should have this toolbar. It is easiest to add it to your<br>
     Activity by using the ActivityToolbox.<br>
@@ -250,10 +232,6 @@ class ActivityToolbar(gtk.Toolbar):<br>
         self.share.show()<br>
         self.insert(self.share, -1)<br>
<br>
-        self.keep = KeepButton(activity)<br>
-        self.insert(self.keep, -1)<br>
-        self.keep.show()<br>
-<br>
         self.stop = StopButton(activity)<br>
         self.insert(self.stop, -1)<br>
         self.stop.show()<br>
<font color="#888888"></font></blockquote><div><br></div><div><br></div><div>Thanks gonzalo applied as </div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><a href="http://git.sugarlabs.org/speak/mainline/commit/4a573fe5b5a64db64d957c4a3b3ba4dcb0e75326">http://git.sugarlabs.org/speak/mainline/commit/4a573fe5b5a64db64d957c4a3b3ba4dcb0e75326</a></div>

<div><br></div><div><a href="http://git.sugarlabs.org/speak/mainline/commit/4a573fe5b5a64db64d957c4a3b3ba4dcb0e75326"></a>Will be in speak's next version. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<font color="#888888">--<br>
1.7.4.4<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></blockquote></div><br>