Commit ef1d7771 authored by Daniel Brötzmann's avatar Daniel Brötzmann

ChatControl: Switch encrypted symbol to symbolic

parent 53880edd
...@@ -825,13 +825,14 @@ class ChatControl(ChatControlBase): ...@@ -825,13 +825,14 @@ class ChatControl(ChatControlBase):
if authenticated: if authenticated:
authenticated_string = _('and authenticated') authenticated_string = _('and authenticated')
self.lock_image.set_from_icon_name( self.lock_image.set_from_icon_name(
'security-high', Gtk.IconSize.MENU) 'security-high-symbolic', Gtk.IconSize.MENU)
else: else:
authenticated_string = _('and NOT authenticated') authenticated_string = _('and NOT authenticated')
self.lock_image.set_from_icon_name( self.lock_image.set_from_icon_name(
'security-low', Gtk.IconSize.MENU) 'security-low-symbolic', Gtk.IconSize.MENU)
tooltip = _('%(type)s encryption is active %(authenticated)s.') % {'type': enc_type, 'authenticated': authenticated_string} tooltip = _('%(type)s encryption is active %(authenticated)s') % \
{'type': enc_type, 'authenticated': authenticated_string}
self.authentication_button.set_tooltip_text(tooltip) self.authentication_button.set_tooltip_text(tooltip)
self.widget_set_visible(self.authentication_button, not visible) self.widget_set_visible(self.authentication_button, not visible)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment