From 75a1cb19cdba3774d8d76ac9bf238254545b018f Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 4 Jun 2002 21:24:19 +0000 Subject: Added this function. 2002-06-04 Christopher James Lahey * e-table-header.c, e-table-header.h (e_table_header_prioritized_column_selected): Added this function. * e-table-utils.c, e-table-utils.h (e_table_util_calculate_current_search_col): Added this function. * e-table.c, e-table.h, e-tree.c: Added a "always_search" argument. If this is off, then searches only occur if there's sort. If it's on, sort takes precendence in doing searches, followed by the highest priority column shown. svn path=/trunk/; revision=17109 --- widgets/table/e-table.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-table.h') diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h index 58c88d2a0e..7f1ec00e75 100644 --- a/widgets/table/e-table.h +++ b/widgets/table/e-table.h @@ -77,8 +77,7 @@ typedef struct { ETableSearch *search; - ETableSearchFunc current_search; - int current_search_col; + ETableCol *current_search_col; guint search_search_id; guint search_accept_id; @@ -131,6 +130,9 @@ typedef struct { guint uniform_row_height : 1; guint allow_grouping : 1; + guint always_search : 1; + guint search_col_set : 1; + char *click_to_add_message; GnomeCanvasItem *click_to_add; gboolean use_click_to_add; -- cgit v1.2.3