Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim
Commits:
1886fda5 by Philipp Hörist at 2017-09-22T15:57:52+02:00
Set lock_image from pixbuf instead of filepath
Fixes #8673
- - - - -
1 changed file:
- src/chat_control.py
Changes:
=====================================
src/chat_control.py
=====================================
--- a/src/chat_control.py
+++ b/src/chat_control.py
@@ -2314,12 +2314,13 @@ class ChatControl(ChatControlBase):
if authenticated:
#About encrypted chat session
authenticated_string = _('and authenticated')
- img_path = gtkgui_helpers.get_icon_path('security-high')
+ pixbuf = gtkgui_helpers.get_icon_pixmap('security-high')
else:
#About encrypted chat session
authenticated_string = _('and NOT authenticated')
- img_path = gtkgui_helpers.get_icon_path('security-low')
- self.lock_image.set_from_file(img_path)
+ pixbuf = gtkgui_helpers.get_icon_pixmap('security-low')
+
+ self.lock_image.set_from_pixbuf(pixbuf)
#status will become 'is' or 'is not', authentificaed will become
#'and authentificated' or 'and not authentificated', logged will become
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/1886fda5c30d6e0b26705daa592096a961f1ac31
---
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/1886fda5c30d6e0b26705daa592096a961f1ac31
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits