diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-11 00:56:06 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-04-11 00:56:06 +0800 |
commit | 0be2fe4054c559c9dd44b6bcea1f7db2364a73ea (patch) | |
tree | 80beaecdb6ab331e438ccdc44cbb2372d6c01d00 | |
parent | 6bbb3cf1f3173952e9d260fcccaa376a590952be (diff) | |
download | gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar.gz gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar.bz2 gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar.lz gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar.xz gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.tar.zst gsoc2013-empathy-0be2fe4054c559c9dd44b6bcea1f7db2364a73ea.zip |
Adjust empetit to test the contact selector filtering.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2806
-rw-r--r-- | tests/empetit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/empetit.c b/tests/empetit.c index 2c69d101d..e2eb61f66 100644 --- a/tests/empetit.c +++ b/tests/empetit.c @@ -60,6 +60,9 @@ int main (int argc, 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); |