From f3d6495ba15ee6a9d95438047129e40636aa8bf7 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 14 Oct 2013 16:11:50 +0400 Subject: [PATCH] Set transient_for for 'Wrong server' error dialog in join gc --- src/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 7ea139726..71305e18e 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -2588,8 +2588,9 @@ class JoinGroupchatWindow: return self.requested_jid = None if nbxmpp.NS_MUC not in obj.features: + window = gajim.interface.instances[self.account]['join_gc'].window ErrorDialog(_('Wrong server'), _('%s is not a groupchat server') % \ - obj.jid) + obj.jid, transient_for=window) return if obj.jid in gajim.interface.instances[self.account]['disco']: gajim.interface.instances[self.account]['disco'][obj.jid].window.\