add transient_for parameter

This commit is contained in:
Yann Leboulanger 2017-12-17 18:41:49 +01:00
parent 0959bd44c8
commit ec2da20f58
1 changed files with 1 additions and 1 deletions

View File

@ -2828,7 +2828,7 @@ class RosterWindow:
sectext = _('You will no longer be able to send and receive '
'messages to contacts from these transports: %s') % jids
dialogs.ConfirmationDialog(pritext, sectext,
on_response_ok = (remove, list_))
on_response_ok = (remove, list_), transient_for=self.window)
def _nec_blocking(self, obj):
if obj.unblock_all or obj.blocklist: