From ff96a236e0de9ab0c21126cef4992fd40b65d162 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 13 Aug 2008 21:30:18 +0000 Subject: add a title to E2E dialog --- src/dialogs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index 24f93d126..46dbcb8fc 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3810,9 +3810,9 @@ class ESessionInfoWindow: self.xml.signal_autoconnect(self) self.security_image = self.xml.get_widget('security_image') + self.window = self.xml.get_widget('esession_info_window') self.update_info() - self.window = self.xml.get_widget('esession_info_window') self.window.show_all() @@ -3826,9 +3826,11 @@ class ESessionInfoWindow: if self.session.control: self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), True) + self.window.set_title(_('''Contact's identity verified''')) else: labeltext += '\n\n' + _('''To be certain that only the expected person can read your messages or send you messages, you need to verify their identity.''') security_image = 'security-low-big.png' + self.window.set_title(_('''Contact's identity NOT verified''')) path = os.path.join(dir, security_image) filename = os.path.abspath(path) -- cgit v1.2.3