Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'webactivity.py')
-rw-r--r--webactivity.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/webactivity.py b/webactivity.py
index bb0cd8d..5b1be7d 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -357,7 +357,9 @@ class WebActivity(activity.Activity):
if os.path.isfile(_LIBRARY_PATH):
self._browser.load_uri('file://' + _LIBRARY_PATH)
else:
- self._browser.load_uri('http://sugarlabs.org')
+ default_page = os.path.join(activity.get_bundle_path(),
+ "data/index.html")
+ self._browser.load_uri(default_page)
def _session_history_changed_cb(self, session_history, link):
_logger.debug('NewPage: %s.' %link)