Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-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)