]> git.0d.be Git - empathy.git/commitdiff
Fix the python example
authorOlivier Le Thanh Duong <olivier@lethanh.be>
Thu, 21 May 2009 20:09:41 +0000 (22:09 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Fri, 29 May 2009 07:39:42 +0000 (09:39 +0200)
python/example.py

index cffd5fffb278b1f6eb1a684e9ccd52438aebb47c..38a04978e4ba00c231eb5cecbf3d0204e1373013 100755 (executable)
@@ -16,7 +16,8 @@ class HelloWorld:
 
         manager = empathy.ContactManager()
         store = empathygtk.ContactListStore(manager)
-        view = empathygtk.ContactListView(store, 0)
+        features = empathygtk.ContactListFeatureFlags(empathygtk.CONTACT_LIST_FEATURE_NONE)
+        view = empathygtk.ContactListView(store, 0, features)
 
         self.window.add (view)
         view.show()