Set transient_for for 'Wrong server' error dialog in join gc
This commit is contained in:
parent
f3d6495ba1
commit
70fa9fcc88
1 changed files with 2 additions and 1 deletions
|
@ -2578,8 +2578,9 @@ class JoinGroupchatWindow:
|
||||||
if obj.jid != self.requested_jid:
|
if obj.jid != self.requested_jid:
|
||||||
return
|
return
|
||||||
self.requested_jid = None
|
self.requested_jid = None
|
||||||
|
window = gajim.interface.instances[self.account]['join_gc'].window
|
||||||
ErrorDialog(_('Wrong server'), _('%s is not a groupchat server') % \
|
ErrorDialog(_('Wrong server'), _('%s is not a groupchat server') % \
|
||||||
obj.jid)
|
obj.jid, transient_for=window)
|
||||||
|
|
||||||
def _nec_agent_info_received(self, obj):
|
def _nec_agent_info_received(self, obj):
|
||||||
if obj.conn.name != self.account:
|
if obj.conn.name != self.account:
|
||||||
|
|
Loading…
Add table
Reference in a new issue