Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-11 12:10:48 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-11 12:10:48 (GMT)
commitcd91cd36477662acc429c20af2111fbc5ac880ec (patch)
treeafb8a30e1e35b5104db66cf29929bb2817c83d1a /webactivity.py
parent95d46956a33a88221ccc64c08700b65580029f4f (diff)
Popup fixes and added (incomplete) support for dialogs.
Diffstat (limited to 'webactivity.py')
-rwxr-xr-xwebactivity.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/webactivity.py b/webactivity.py
index f7ad9d2..c8b2c89 100755
--- a/webactivity.py
+++ b/webactivity.py
@@ -30,6 +30,8 @@ hulahop.startup(os.path.join(env.get_profile_path(), 'gecko'))
from browser import Browser
from webtoolbar import WebToolbar
import downloadmanager
+import promptservice
+import securitydialogs
_HOMEPAGE = 'http://www.google.com'
@@ -63,7 +65,7 @@ class WebActivity(activity.Activity):
if handle.uri:
self._browser.load_uri(handle.uri)
- elif not self._jobject.file_path:
+ elif not self._jobject.file_path and not browser:
# TODO: we need this hack until we extend the activity API for
# opening URIs and default docs.
self._browser.load_uri(_HOMEPAGE)