changeset 77cb0856ddf0 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=77cb0856ddf0 description: rename gajim-security_high / low to security-high / low. see #7445
diffstat:
icons/hicolor/16x16/status/gajim-security_high.png | Bin icons/hicolor/16x16/status/gajim-security_low.png | Bin icons/hicolor/16x16/status/security-high.png | Bin icons/hicolor/16x16/status/security-low.png | Bin icons/hicolor/32x32/actions/gajim-security_high.png | Bin icons/hicolor/32x32/actions/gajim-security_low.png | Bin icons/hicolor/32x32/status/security-high.png | Bin icons/hicolor/32x32/status/security-low.png | Bin src/chat_control.py | 4 ++-- src/dialogs.py | 12 ++++++------ 10 files changed, 8 insertions(+), 8 deletions(-)
diffs (85 lines):
diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/16x16/status/gajim-security_high.png Binary file icons/hicolor/16x16/status/gajim-security_high.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/16x16/status/gajim-security_low.png Binary file icons/hicolor/16x16/status/gajim-security_low.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/16x16/status/security-high.png Binary file icons/hicolor/16x16/status/security-high.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/16x16/status/security-low.png Binary file icons/hicolor/16x16/status/security-low.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/32x32/actions/gajim-security_high.png Binary file icons/hicolor/32x32/actions/gajim-security_high.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/32x32/actions/gajim-security_low.png Binary file icons/hicolor/32x32/actions/gajim-security_low.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/32x32/status/security-high.png Binary file icons/hicolor/32x32/status/security-high.png has changed diff -r c4a01c109add -r 77cb0856ddf0 icons/hicolor/32x32/status/security-low.png Binary file icons/hicolor/32x32/status/security-low.png has changed diff -r c4a01c109add -r 77cb0856ddf0 src/chat_control.py --- a/src/chat_control.py Sat Mar 29 17:52:22 2014 +0100 +++ b/src/chat_control.py Sat Mar 29 18:18:04 2014 +0100 @@ -2348,11 +2348,11 @@ if authenticated: #About encrypted chat session authenticated_string = _('and authenticated') - img_path = gtkgui_helpers.get_icon_path('gajim-security_high') + img_path = gtkgui_helpers.get_icon_path('security-high') else: #About encrypted chat session authenticated_string = _('and NOT authenticated') - img_path = gtkgui_helpers.get_icon_path('gajim-security_low') + img_path = gtkgui_helpers.get_icon_path('security-low') self.lock_image.set_from_file(img_path)
#status will become 'is' or 'is not', authentificaed will become diff -r c4a01c109add -r 77cb0856ddf0 src/dialogs.py --- a/src/dialogs.py Sat Mar 29 17:52:22 2014 +0100 +++ b/src/dialogs.py Sat Mar 29 18:18:04 2014 +0100 @@ -5172,7 +5172,7 @@
if self.session.verified_identity: labeltext += '\n\n' + _('''You have already verified this contact's identity.''') - security_image = 'gajim-security_high' + security_image = 'security-high' if self.session.control: self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), True) @@ -5189,7 +5189,7 @@ self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), False) labeltext += '\n\n' + _('''To be certain that <b>only</b> the expected person can read your messages or send you messages, you need to verify their identity by clicking the button below.''') - security_image = 'gajim-security_low' + security_image = 'security-low'
verification_status = _('''Contact's identity NOT verified''') self.window.set_title(verification_status) @@ -5246,13 +5246,13 @@ verification_status = _('''Contact's identity NOT verified''') info = _('The contact's key (%s) <b>does not match</b> the key ' 'assigned in Gajim.') % keyID[:8] - image = 'gajim-security_low' + image = 'security-low' elif not keyID: # No key assigned nor a key is used by remote contact verification_status = _('No OpenPGP key assigned') info = _('No OpenPGP key is assigned to this contact. So you cannot' ' encrypt messages.') - image = 'gajim-security_low' + image = 'security-low' else: error = gajim.connections[account].gpg.encrypt('test', [keyID])[1] if error: @@ -5260,12 +5260,12 @@ info = _('OpenPGP key is assigned to this contact, but <b>you ' 'do not trust his key</b>, so message <b>cannot</b> be ' 'encrypted. Use your OpenPGP client to trust this key.') - image = 'gajim-security_low' + image = 'security-low' else: verification_status = _('''Contact's identity verified''') info = _('OpenPGP Key is assigned to this contact, and you ' 'trust his key, so messages will be encrypted.') - image = 'gajim-security_high' + image = 'security-high'
status_label.set_markup('<b><span size="x-large">%s</span></b>' % \ verification_status)