diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-09-08 23:43:27 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-09-08 23:43:27 +0800 |
commit | c84cf8d5e36241d2ccb48589496f4d54752a5c54 (patch) | |
tree | 042f12e52307682a01066bc9a7dd5c48c8367486 /libempathy-gtk/empathy-contact-list-view.c | |
parent | bd607fd9224d6c27510d8de8f68f7e70e686708c (diff) | |
download | gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.gz gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.bz2 gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.lz gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.xz gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.tar.zst gsoc2013-empathy-c84cf8d5e36241d2ccb48589496f4d54752a5c54.zip |
Make use of the search function to correctly find when typing in the
2007-09-08 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-contact-list-view.c:
* libempathy-gtk/empathy-contact-list-store.c: Make use of the search
function to correctly find when typing in the contact list view.
Fixes bug #472309 (Will Thompson, Xavier Claessens).
svn path=/trunk/; revision=290
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-view.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 5b3f0de08..4aeac322d 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -519,6 +519,10 @@ contact_list_view_setup (EmpathyContactListView *view) priv = GET_PRIV (view); + gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (view), + empathy_contact_list_store_search_equal_func, + NULL, NULL); + g_signal_connect (priv->store, "row-has-child-toggled", G_CALLBACK (contact_list_view_row_has_child_toggled_cb), view); |