diff --git a/icons/hicolor/16x16/status/gajim-security_high.png b/icons/hicolor/16x16/status/security-high.png similarity index 100% rename from icons/hicolor/16x16/status/gajim-security_high.png rename to icons/hicolor/16x16/status/security-high.png diff --git a/icons/hicolor/16x16/status/gajim-security_low.png b/icons/hicolor/16x16/status/security-low.png similarity index 100% rename from icons/hicolor/16x16/status/gajim-security_low.png rename to icons/hicolor/16x16/status/security-low.png diff --git a/icons/hicolor/32x32/actions/gajim-security_high.png b/icons/hicolor/32x32/status/security-high.png similarity index 100% rename from icons/hicolor/32x32/actions/gajim-security_high.png rename to icons/hicolor/32x32/status/security-high.png diff --git a/icons/hicolor/32x32/actions/gajim-security_low.png b/icons/hicolor/32x32/status/security-low.png similarity index 100% rename from icons/hicolor/32x32/actions/gajim-security_low.png rename to icons/hicolor/32x32/status/security-low.png diff --git a/src/chat_control.py b/src/chat_control.py index cc90b8888..a551567c7 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -2348,11 +2348,11 @@ class ChatControl(ChatControlBase): 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 --git a/src/dialogs.py b/src/dialogs.py index 06365f271..7db7276df 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -5172,7 +5172,7 @@ class ESessionInfoWindow: 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 @@ class ESessionInfoWindow: self.session.control._show_lock_image(True, 'E2E', True, self.session.is_loggable(), False) 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 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 @@ class GPGInfoWindow: verification_status = _('''Contact's identity NOT verified''') info = _('The contact\'s key (%s) does not match 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 @@ class GPGInfoWindow: info = _('OpenPGP key is assigned to this contact, but you ' 'do not trust his key, so message cannot 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('%s' % \ verification_status)