diff options
author | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-14 01:30:18 +0400 |
---|---|---|
committer | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-14 01:30:18 +0400 |
commit | ff96a236e0de9ab0c21126cef4992fd40b65d162 (patch) | |
tree | cab825688caab833f287d7e32ec8f7f7269c1c52 | |
parent | 3eb1b551e5cdc03542f7802b59f1510ee6e67a8f (diff) |
add a title to E2E dialog
-rw-r--r-- | src/dialogs.py | 4 |
1 files changed, 3 insertions, 1 deletions
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) |