Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:

1 changed file:

Changes:

  • src/chat_control.py
    ... ... @@ -2314,12 +2314,13 @@ class ChatControl(ChatControlBase):
    2314 2314
             if authenticated:
    
    2315 2315
                 #About encrypted chat session
    
    2316 2316
                 authenticated_string = _('and authenticated')
    
    2317
    -            img_path = gtkgui_helpers.get_icon_path('security-high')
    
    2317
    +            pixbuf = gtkgui_helpers.get_icon_pixmap('security-high')
    
    2318 2318
             else:
    
    2319 2319
                 #About encrypted chat session
    
    2320 2320
                 authenticated_string = _('and NOT authenticated')
    
    2321
    -            img_path = gtkgui_helpers.get_icon_path('security-low')
    
    2322
    -        self.lock_image.set_from_file(img_path)
    
    2321
    +            pixbuf = gtkgui_helpers.get_icon_pixmap('security-low')
    
    2322
    +
    
    2323
    +        self.lock_image.set_from_pixbuf(pixbuf)
    
    2323 2324
     
    
    2324 2325
             #status will become 'is' or 'is not', authentificaed will become
    
    2325 2326
             #'and authentificated' or 'and not authentificated', logged will become