diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-05-27 13:36:25 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 19:34:57 +0800 |
commit | 2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae (patch) | |
tree | e5f4d50183ec541c79364ecaa376097f65f0b522 /libempathy-gtk/empathy-log-window.c | |
parent | 9f2331fcb2254a28e17a607cc3f614187dd64af9 (diff) | |
download | gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar.gz gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar.bz2 gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar.lz gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar.xz gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.tar.zst gsoc2013-empathy-2589cc3f824a7ccbea5ed016aa8ff40a7c3de1ae.zip |
[log-viewer] set search columns
Diffstat (limited to 'libempathy-gtk/empathy-log-window.c')
-rw-r--r-- | libempathy-gtk/empathy-log-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 0056ebe37..590b3c223 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -1965,6 +1965,8 @@ log_window_who_setup (EmpathyLogWindow *window) COL_WHO_NAME, sort_by_name, NULL, NULL); + gtk_tree_view_set_search_column (view, COL_WHO_NAME); + /* set up signals */ g_signal_connect (selection, "changed", G_CALLBACK (log_window_who_changed_cb), window); @@ -2164,6 +2166,8 @@ log_window_when_setup (EmpathyLogWindow *window) COL_WHEN_DATE, sort_by_date, NULL, NULL); + gtk_tree_view_set_search_column (view, COL_WHEN_TEXT); + /* set up signals */ g_signal_connect (selection, "changed", G_CALLBACK (log_window_when_changed_cb), @@ -2295,6 +2299,7 @@ log_window_what_setup (EmpathyLogWindow *window) "text", COL_WHAT_TEXT); gtk_tree_view_append_column (view, column); + gtk_tree_view_set_search_column (view, COL_WHAT_TEXT); /* set up treeview properties */ gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE); |