Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-07-27 17:15:38 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-08-02 22:23:50 (GMT)
commitac0f772d19b06f669afcedeb00ab7c9249bae4bd (patch)
tree9f401d3cab0548a86aa068e2049c777c26d21c96
parentd1bb69ad4e0332901298f58c0aa102ad3c52f049 (diff)
Remove KeepButton due to deprecation
Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
-rw-r--r--activity.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/activity.py b/activity.py
index 7a32a6d..88313e2 100644
--- a/activity.py
+++ b/activity.py
@@ -48,7 +48,7 @@ class StopWatchActivity(Activity):
try:
from sugar.graphics.toolbarbox import ToolbarBox, ToolbarButton
from sugar.activity.widgets import ActivityToolbarButton, StopButton, \
- ShareButton, KeepButton, TitleEntry, ActivityButton
+ ShareButton, TitleEntry, ActivityButton
except ImportError:
OLD_TOOLBAR = True
@@ -70,10 +70,6 @@ class StopWatchActivity(Activity):
toolbar_box.toolbar.insert(share_button, -1)
share_button.show()
- keep_button = KeepButton(self)
- toolbar_box.toolbar.insert(keep_button, -1)
- keep_button.show()
-
separator = gtk.SeparatorToolItem()
separator.props.draw = False
separator.set_expand(True)