diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2009-11-27 01:00:57 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2009-11-27 01:00:57 +0300 |
commit | 1e616c5412f2470b112854c49926a92915237d24 (patch) | |
tree | b293bc0093f7a56353bdf3db4505a826534ca0d0 | |
parent | b062da6c3e419c6bc428685a1cd48fad92e51220 (diff) |
fix Gajim startup when bonjour is not available.
-rw-r--r-- | src/roster_window.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/roster_window.py b/src/roster_window.py index 92f5b4c0a..11bfafd40 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -6039,8 +6039,12 @@ class RosterWindow: gajim.config.set('show_roster_on_startup', True) if len(gajim.connections) == 0: # if we have no account - gajim.interface.instances['account_creation_wizard'] = \ - config.AccountCreationWizardWindow() + def _open_wizard(): + gajim.interface.instances['account_creation_wizard'] = \ + config.AccountCreationWizardWindow() + # Open wizard only after roster is created, so we can make it transient + # for the roster window + gobject.idle_add(_open_wizard) if not gajim.ZEROCONF_ACC_NAME in gajim.config.get_per('accounts'): # Create zeroconf in config file from common.zeroconf import connection_zeroconf |