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 16:41:37 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-09-01 23:07:33 (GMT)
commit780adb53454865940d05b41b1114e6c830ef0bf6 (patch)
tree53ac3be25ce35ab4850b2e048cd85badf6d3dbb2
parent80495aeb7a49864f398d488ac7b4d9a40c7f1cb4 (diff)
Maze: Remove KeepButton due to deprecation
Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
-rw-r--r--olpcgames/activity.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/olpcgames/activity.py b/olpcgames/activity.py
index 2149c30..77687cd 100644
--- a/olpcgames/activity.py
+++ b/olpcgames/activity.py
@@ -111,7 +111,7 @@ class PyGameActivity(activity.Activity):
try:
from sugar.graphics.toolbarbox import ToolbarBox, ToolbarButton
from sugar.activity.widgets import ActivityToolbarButton, StopButton, \
- ShareButton, KeepButton
+ ShareButton
from mybutton import MyActivityToolbarButton
toolbar_box = ToolbarBox()
@@ -129,10 +129,6 @@ class PyGameActivity(activity.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()
-
stop_button = StopButton(self)
toolbar_box.toolbar.insert(stop_button, -1)
stop_button.show()