[Sugar-devel] [PATCH browse 5/5] Fix URI for loading default page

Manuel Quiñones manuq at laptop.org
Wed Dec 21 07:55:05 EST 2011


Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 browser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/browser.py b/browser.py
index 3c33c47..5d5dc98 100644
--- a/browser.py
+++ b/browser.py
@@ -278,7 +278,7 @@ class TabbedView(BrowserNotebook):
         else:
             default_page = os.path.join(activity.get_bundle_path(),
                                         "data/index.html")
-            browser.load_uri(default_page)
+            browser.load_uri('file://' + default_page)
 
     def _get_current_browser(self):
         if self.get_n_pages():
-- 
1.7.7.4



More information about the Sugar-devel mailing list