diff options
author | Lucian 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) |
commit | 2fd94accab0cd7276d6b47b93bc024aae53c9237 (patch) | |
tree | f73fb03fad9b5a8880fcd5baafd045ad8319a4df | |
parent | a4ad4526276d11670afe2ad17d6be9c7cd499636 (diff) |
Make the initial connection to the browser less eager again.
-rw-r--r-- | webtoolbar.py | 3 |
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) |