From 9110ad90d5a98a0146246a3d353d71aba601eef3 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 18 Jan 2014 11:44:25 +0400 Subject: [PATCH] Set parent for server error dialog in disco --- src/disco.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/disco.py b/src/disco.py index 6f13452e0..7a108e25b 100644 --- a/src/disco.py +++ b/src/disco.py @@ -832,7 +832,8 @@ _('Without a connection, you can not browse available services')) jid = helpers.parse_jid(jid) except helpers.InvalidFormat as s: pritext = _('Invalid Server Name') - dialogs.ErrorDialog(pritext, str(s)) + dialogs.ErrorDialog(pritext, str(s), + transient_for=self.window) return if jid == self.jid: # jid has not changed return