Implement progress bars and fix a few bugs.
[hermes] / package / src / org / maemo / hermes / gui / contactview.py
index d9c50e5..f941cbb 100644 (file)
@@ -30,7 +30,7 @@ class ContactView(hildon.PannableArea):
         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)
@@ -67,7 +67,7 @@ class ContactView(hildon.PannableArea):
                 
             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)