diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-09 09:26:26 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-09 09:26:26 +0000 |
commit | 9a51810579d03b582f44919cb82d1fb757e93bea (patch) | |
tree | fcc9c9253e35f5827f334a52f032ca8459479961 /src/summary_search.c | |
parent | cfba26004dba1af652c6e82e489d75ef049a803d (diff) |
reimplemented summary view with GtkTreeView.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@237 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summary_search.c')
-rw-r--r-- | src/summary_search.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/summary_search.c b/src/summary_search.c index f2f60361..57d2ed36 100644 --- a/src/summary_search.c +++ b/src/summary_search.c @@ -37,7 +37,8 @@ #include <gtk/gtkcheckbutton.h> #include <gtk/gtkhbbox.h> #include <gtk/gtkbutton.h> -#include <gtk/gtkctree.h> +#include <gtk/gtkmenuitem.h> +#include <gtk/gtkstock.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -239,9 +240,8 @@ static void summary_search_create(SummaryView *summaryview) static void summary_search_execute(GtkButton *button, gpointer data) { +#if 0 SummaryView *summaryview = data; - GtkCTree *ctree = GTK_CTREE(summaryview->ctree); - GtkCTreeNode *node; MsgInfo *msginfo; gboolean bool_and; gboolean case_sens; @@ -403,8 +403,8 @@ static void summary_search_execute(GtkButton *button, gpointer data) if (messageview_is_visible (summaryview->messageview)) { summary_unlock(summaryview); - summary_select_node - (summaryview, node, TRUE, TRUE); + summary_select_row + (summaryview, &iter, TRUE, TRUE); summary_lock(summaryview); if (body_matched) { messageview_search_string @@ -427,6 +427,7 @@ static void summary_search_execute(GtkButton *button, gpointer data) main_window_cursor_normal(summaryview->mainwin); summary_unlock(summaryview); +#endif } static void summary_search_clear(GtkButton *button, gpointer data) |