Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-08-30 12:16:40 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-08-30 12:16:40 (GMT)
commitbd3e89f4e032f322ad1c8edd2e8f70eecec67c51 (patch)
tree2dfd34b16c62ba15f8c460bef8f0d610a954a29a
parent537e353d2e24cb3932a75e9d14378e2019822644 (diff)
Open the browse tab as well when joining a shared browser session
part of the fix for #3032
-rwxr-xr-xwebactivity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/webactivity.py b/webactivity.py
index bf95bc6..90a7726 100755
--- a/webactivity.py
+++ b/webactivity.py
@@ -110,7 +110,7 @@ class WebActivity(activity.Activity):
if handle.uri:
self._browser.load_uri(handle.uri)
- toolbox.set_current_toolbar(1)
+ self.toolbox.set_current_toolbar(1)
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.
@@ -136,6 +136,7 @@ class WebActivity(activity.Activity):
self.owner = self.pservice.get_owner()
if self._shared_activity is not None:
# We are joining the activity
+ self.toolbox.set_current_toolbar(1)
_logger.debug('Joined activity')
self.connect('joined', self._joined_cb)
if self.get_shared():