ChatControl: Switch encrypted symbol to symbolic
This commit is contained in:
parent
53880edd96
commit
ef1d7771fb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue