diff options
author | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-14 01:44:52 +0400 |
---|---|---|
committer | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-14 01:44:52 +0400 |
commit | 4b039ce4d60dc304cf67f775a6a01a94f36dd69f (patch) | |
tree | 645cac5e46c03023bc226720ad581d1b827e19dd | |
parent | ff96a236e0de9ab0c21126cef4992fd40b65d162 (diff) |
hide verify button in E2E dialog if identity is alerady verified
-rw-r--r-- | src/dialogs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialogs.py b/src/dialogs.py index 46dbcb8fc..22ea53d96 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -3810,6 +3810,7 @@ class ESessionInfoWindow: self.xml.signal_autoconnect(self) self.security_image = self.xml.get_widget('security_image') + self.verify_now_button = self.xml.get_widget('verify_now_button') self.window = self.xml.get_widget('esession_info_window') self.update_info() @@ -3827,6 +3828,8 @@ class ESessionInfoWindow: self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), True) self.window.set_title(_('''Contact's identity verified''')) + self.xml.get_widget('dialog-action_area1').set_no_show_all(True) + self.verify_now_button.hide() 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' |