[Sugar-devel] [PATCH] Maze: Remove KeepButton due to deprecation
godiard at sugarlabs.org
godiard at sugarlabs.org
Wed Jul 27 12:41:37 EDT 2011
From: Gonzalo Odiard <godiard at gmail.com>
---
olpcgames/activity.py | 6 +-----
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()
--
1.7.4.4
More information about the Sugar-devel
mailing list