From bd3e89f4e032f322ad1c8edd2e8f70eecec67c51 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 30 Aug 2007 12:16:40 +0000 Subject: Open the browse tab as well when joining a shared browser session part of the fix for #3032 --- (limited to 'webactivity.py') 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(): -- cgit v0.9.1