[Sugar-devel] [PATCH hello-world] Remove KeepButton due to deprecation
Simon Schampijer
simon at schampijer.de
Wed Jul 27 11:24:17 EDT 2011
From: Simon Schampijer <simon at laptop.org>
---
activity.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/activity.py b/activity.py
index 5b06254..6ab8e29 100644
--- a/activity.py
+++ b/activity.py
@@ -28,7 +28,6 @@ from sugar.activity.widgets import ActivityToolbox
from sugar.activity.widgets import TitleEntry
from sugar.activity.widgets import StopButton
from sugar.activity.widgets import ShareButton
-from sugar.activity.widgets import KeepButton
class HelloWorldActivity(activity.Activity):
"""HelloWorldActivity class as specified in activity.info"""
@@ -55,10 +54,6 @@ class HelloWorldActivity(activity.Activity):
share_button = ShareButton(self)
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
--
1.7.4.4
More information about the Sugar-devel
mailing list