[PATCH] Remove the keep button from the default activity toolbar
Chris Ball
cjb at laptop.org
Wed Apr 21 19:32:12 EDT 2010
As suggested by Eben in
http://lists.sugarlabs.org/archive/sugar-devel/2010-April/023439.html
---
src/sugar/activity/widgets.py | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py
index 2867666..481f6b1 100644
--- a/src/sugar/activity/widgets.py
+++ b/src/sugar/activity/widgets.py
@@ -223,7 +223,7 @@ class TitleEntry(gtk.ToolItem):
class ActivityToolbar(gtk.Toolbar):
"""The Activity toolbar with the Journal entry title, sharing,
- Keep and Stop buttons
+ and Stop button
All activities should have this toolbar. It is easiest to add it to your
Activity by using the ActivityToolbox.
@@ -251,10 +251,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()
--
1.7.0.1
More information about the Sugar-devel
mailing list