Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-07-29 15:29:15 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-07-29 15:29:15 (GMT)
commit7b66571b64f9df083f2e6361c92d31b947d00fcf (patch)
tree1e8d69fb185c29b5126d79ba484abd4104c086fe
parent7d28b819c4ec3499201bd66d1b5b1a41534c5f16 (diff)
removing keep button (deprecated), based on Simon Schampijer <simon@laptop.org> patchsugar-0.94
-rw-r--r--activity.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/activity.py b/activity.py
index 6ba8dbc..7c02e26 100644
--- a/activity.py
+++ b/activity.py
@@ -47,7 +47,7 @@ class HelloWorldActivity(activity.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
@@ -72,10 +72,6 @@ class HelloWorldActivity(activity.Activity):
toolbar_box.toolbar.insert(share_button, -1)
share_button.show()
- keep_button = KeepButton(self) # keep button code - codigo del boton guardar
- toolbar_box.toolbar.insert(keep_button, -1)
- keep_button.show()
-
separator = gtk.SeparatorToolItem() # separator code - codigo para el separador en la barra
separator.props.draw = False
separator.set_expand(True)