From 256cd2f17fe1bcea8fb5c827e3e6ae2e377e381f Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 10 Aug 2013 23:39:35 +0400 Subject: [PATCH] Set title for InvitationReceivedDialog. Fixes #7383 --- src/dialogs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 992456b9b..3ac5262c3 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4592,8 +4592,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):