empathy r2806 - trunk/tests



Author: xclaesse
Date: Fri Apr 10 16:56:06 2009
New Revision: 2806
URL: http://svn.gnome.org/viewvc/empathy?rev=2806&view=rev

Log:
Adjust empetit to test the contact selector filtering.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/tests/empetit.c

Modified: trunk/tests/empetit.c
==============================================================================
--- trunk/tests/empetit.c	(original)
+++ trunk/tests/empetit.c	Fri Apr 10 16:56:06 2009
@@ -60,6 +60,9 @@
   manager = empathy_contact_manager_dup_singleton ();
   selector = empathy_contact_selector_new (EMPATHY_CONTACT_LIST (manager));
 
+  empathy_contact_selector_set_visible (EMPATHY_CONTACT_SELECTOR (selector),
+      (EmpathyContactSelectorFilterFunc) empathy_contact_can_send_files, NULL);
+
   vbox = gtk_vbox_new (FALSE, 2);
 
   gtk_box_pack_start (GTK_BOX (vbox), selector, FALSE, FALSE, 5);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]