Skip to content
Snippets Groups Projects
Commit 06702824 authored by nkour's avatar nkour
Browse files

better funcname

parent 17f67e6a
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
GTKGUI_GLADE = 'gtkgui.glade'
def get_avatar_pixbuf(photo):
def get_avatar_pixbuf_encoded_mime(photo):
'''return the pixbuf of the image
photo is a dictionary containing PHOTO information'''
if not isinstance(photo, dict):
......@@ -227,7 +227,7 @@ def set_values(self, vcard):
for i in vcard.keys():
if i == 'PHOTO':
pixbuf, self.avatar_encoded, self.avatar_mime_type = \
get_avatar_pixbuf(vcard[i])
get_avatar_pixbuf_encoded_mime(vcard[i])
image = self.xml.get_widget('PHOTO_image')
image.set_from_pixbuf(pixbuf)
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment