Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2012-06-14 03:50:01 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2012-06-14 03:50:01 (GMT)
commit7efb1d1406189be0905477058a91436f07aedd0e (patch)
treeeddee31bdf5236487d1be28a789bd12251e1c907
parent4893c70937fd6dc9c541228b4a2818827972add2 (diff)
erasing old comments
-rw-r--r--activity.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/activity.py b/activity.py
index ba4f392..9900228 100644
--- a/activity.py
+++ b/activity.py
@@ -41,21 +41,10 @@ class StopWatchActivity(Activity):
GObject.threads_init()
- # top toolbar with share and close buttons:
- #OLD_TOOLBAR = False
-
- #try:
from sugar3.graphics.toolbarbox import ToolbarBox, ToolbarButton
from sugar3.activity.widgets import ActivityToolbarButton, StopButton, \
ShareButton, TitleEntry, ActivityButton
- #except ImportError:
- # OLD_TOOLBAR = True
-
- #if OLD_TOOLBAR:
- # toolbox = ToolbarBox(self)
- # self.set_toolbox(toolbox)
- # toolbox.show()
- #else:
+
toolbar_box = ToolbarBox()
self.activity_button = ActivityButton(self)
toolbar_box.toolbar.insert(self.activity_button, 0)