Check if the icon exists

This commit is contained in:
Marco Pesenti Gritti 2006-05-22 02:32:34 -04:00
parent f5173c33d0
commit 7ecf98ba95

View File

@ -278,8 +278,8 @@ class Chat(activity.Activity):
def _insert_buddy(self, buf, nick):
buddy = self._group.get_buddy(nick)
print buddy.get_nick_name()
if buddy.get_icon():
pbl = gtk.gdk.PixbufLoader()
pbl.write(buddy.get_icon())
pbl.close()