Set title for InvitationReceivedDialog. Fixes #7383

This commit is contained in:
Denis Fomin 2013-08-10 23:39:35 +04:00
parent 4d902371f0
commit b84f0d3409
1 changed files with 4 additions and 2 deletions

View File

@ -4635,8 +4635,10 @@ class InvitationReceivedDialog:
gajim.connections[account].decline_invitation(self.room_jid,
self.contact_fjid, text)
YesNoDialog(pritext, sectext, text_label=_('Reason (if you decline):'),
on_response_yes=on_yes, on_response_no=on_no)
dlg = YesNoDialog(pritext, sectext,
text_label=_('Reason (if you decline):'), on_response_yes=on_yes,
on_response_no=on_no)
dlg.set_title(_('Groupchat Invitation'))
class ProgressDialog:
def __init__(self, title_text, during_text, messages_queue):