From 15e3a4f7914984422af0086cadc5bcea5a14f34a Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Wed, 25 Oct 2006 08:18:43 +0000 Subject: Register a nsIHelperAppLauncherDialog to handle docs out of gtkmozembed (pdfs, ...) --- (limited to 'activities') 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) -- cgit v0.9.1