Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Hermes
Summary Lists News SCM
authorAndrew Flegg <andrew@bleb.org>
Wed, 9 Jun 2010 23:05:33 +0000 (00:05 +0100)
committerAndrew Flegg <andrew@bleb.org>
Wed, 9 Jun 2010 23:05:33 +0000 (00:05 +0100)
package/src/org/maemo/hermes/gui/contactview.py

index f941cbb..0728d50 100644 (file)
@@ -45,7 +45,7 @@ class ContactView(hildon.PannableArea):
 
         # -- Build the tree model...
         #
-        for contact in self.contacts:
+        for contact in sorted(self.contacts, cmp = lambda a, b: cmp(a.get_name(), b.get_name())):
             if not contact.get_name():
                 continue
               

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment