diff options
Diffstat (limited to 'activities')
-rw-r--r-- | activities/web/webactivity.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activities/web/webactivity.py b/activities/web/webactivity.py index d96f412..372fad4 100644 --- a/activities/web/webactivity.py +++ b/activities/web/webactivity.py @@ -98,7 +98,8 @@ def start(): gtkmozembed.set_profile_path(env.get_profile_path(), 'gecko') gtkmozembed.push_startup() - _sugar.startup_browser() + if not _sugar.startup_browser(): + raise "Error when initializising the web activity." style.load_stylesheet(web.stylesheet) |