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.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/activity.py b/activity.py
index bd2aed3..879bccf 100644
--- a/activity.py
+++ b/activity.py
@@ -28,9 +28,8 @@ from gettext import gettext as _
from sugar.activity import activity
from sugar.activity.activity import get_bundle_path
-from about import AboutButton
-USE_GECKO=True
+USE_GECKO=False
if not USE_GECKO:
try:
import webkit
@@ -146,10 +145,6 @@ class HelloWorldActivity(activity.Activity):
debug_button.connect('clicked', self.__debug_button_cb)
debug_button.show()
- about_button = AboutButton(self)
- toolbar_box.toolbar.insert(about_button, -1)
- about_button.show()
-
stop_button = StopButton(self)
toolbar_box.toolbar.insert(stop_button, -1)
stop_button.show()
@@ -166,7 +161,7 @@ class HelloWorldActivity(activity.Activity):
else:
self.web_view = Browser()
- self.open("file:///%s/studio/static/init.html" % self.bundle_dir)
+ self.open("file:///%s/app/static/init.html" % self.bundle_dir)
self.set_canvas(self.web_view)
self.web_view.show()
self.waitforport()
@@ -209,7 +204,7 @@ class HelloWorldActivity(activity.Activity):
return True
def start_server(self):
- self.serverprocess = subprocess.Popen(("python", "studio/studio.py", str(self.port)))
+ self.serverprocess = subprocess.Popen(("python", "app/app.py", str(self.port)))
if self._shared_activity:
self.share_server()