icons = {}
services = set([])
for contact in self.contacts:
- services |= contact.get_mapped_to()
+ services |= contact.get_mappings()
for service in sorted(services):
columns.append(gtk.gdk.Pixbuf)
row = [pixbuf, contact.get_name(), ]
for service in services:
- row.append(service in contact.get_mapped_to() and icons[service] or None)
+ row.append(service in contact.get_mappings() and icons[service] or None)
row.append(contact)
self.treestore.append(row)