Mercurial > pidgin.yaz
changeset 5419:ab1cb8b5e42b
[gaim-migrate @ 5798]
This lets your search for peeps in your buddy list by clicking on the
list and CTRL+F'ing. Yay for gtk.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 18 May 2003 01:19:03 +0000 |
parents | 697cd2f19d0c |
children | c54cb8f8655f |
files | src/gtkblist.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Sat May 17 23:04:58 2003 +0000 +++ b/src/gtkblist.c Sun May 18 01:19:03 2003 +0000 @@ -1432,6 +1432,9 @@ g_signal_connect(G_OBJECT(gtkblist->treeview), "row-collapsed", G_CALLBACK(gtk_blist_row_collapsed_cb), NULL); g_signal_connect(G_OBJECT(gtkblist->treeview), "button-press-event", G_CALLBACK(gtk_blist_button_press_cb), NULL); + /* Enable CTRL+F searching */ + gtk_tree_view_set_search_column(GTK_TREE_VIEW(gtkblist->treeview), NAME_COLUMN); + gtk_box_pack_start(GTK_BOX(gtkblist->vbox), sw, TRUE, TRUE, 0); gtk_container_add(GTK_CONTAINER(sw), gtkblist->treeview); gaim_gtk_blist_update_columns();