changeset a7adb868935e in /home/hg/repos/gajim

author: Yann Leboulanger <aste...@lagaule.org>
branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=a7adb868935e
description: set title of fingerprint dialog. Fixes #7239

diffstat:

 src/dialogs.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7ea8d7724463 -r a7adb868935e src/dialogs.py
--- a/src/dialogs.py    Thu Sep 12 17:41:33 2013 +0200
+++ b/src/dialogs.py    Fri Sep 13 07:30:09 2013 +0200
@@ -5465,6 +5465,7 @@
         YesNoDialog.__init__(self, pritext, sectext=sectext,
             checktext=checktext, on_response_yes=on_response_yes,
             on_response_no=on_response_no)
+        self.set_title(_('SSL Certificate Verification for %s') % account)
         b = Gtk.Button(_('View cert...'))
         b.connect('clicked', self.on_cert_clicked)
         b.show_all()
@@ -5472,8 +5473,7 @@
         area.pack_start(b, True, True, 0)
 
     def on_cert_clicked(self, button):
-        d = CertificatDialog(self, self.account, self.cert)
-        d.set_title(_('Certificate'))
+        CertificatDialog(self, self.account, self.cert)
 
 class SSLErrorDialog(ConfirmationDialogDoubleCheck):
     def __init__(self, account, certificate, pritext, sectext, checktext1,
_______________________________________________
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to