From 2fd94accab0cd7276d6b47b93bc024aae53c9237 Mon Sep 17 00:00:00 2001 From: Lucian Branescu Mihaila Date: Tue, 13 Jul 2010 18:00:09 +0000 Subject: Make the initial connection to the browser less eager again. --- 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) -- cgit v0.9.1