changeset 35f30e20a71a in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=35f30e20a71a
description: fix Gajim startup when bonjour is not available.
diffstat:
src/roster_window.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6418a98956a1 -r 35f30e20a71a src/roster_window.py
--- a/src/roster_window.py Thu Nov 26 20:18:09 2009 +0100
+++ b/src/roster_window.py Thu Nov 26 23:00:57 2009 +0100
@@ -5952,8 +5952,12 @@
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
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits