Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-07-13 18:00:09 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-07-13 18:00:09 (GMT)
commit2fd94accab0cd7276d6b47b93bc024aae53c9237 (patch)
treef73fb03fad9b5a8880fcd5baafd045ad8319a4df /webtoolbar.py
parenta4ad4526276d11670afe2ad17d6be9c7cd499636 (diff)
Make the initial connection to the browser less eager again.
Diffstat (limited to 'webtoolbar.py')
-rw-r--r--webtoolbar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index 651b999..bf52e3d 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -286,7 +286,8 @@ class PrimaryToolbar(ToolbarBox):
self._progress_changed_hid = None
self._title_changed_hid = None
- self._connect_to_browser(tabbed_view.props.current_browser)
+ gobject.idle_add(lambda:
+ self._connect_to_browser(tabbed_view.props.current_browser))
tabbed_view.connect_after('switch-page', self.__switch_page_cb)