diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-06-05 05:24:19 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-06-05 05:24:19 +0800 |
commit | 75a1cb19cdba3774d8d76ac9bf238254545b018f (patch) | |
tree | dd6759d82276a075db3d0dae04232b27ee9de330 /widgets/table/e-table.h | |
parent | c1dadee81ade19d8524cd5d8466f76ffd4f5f289 (diff) | |
download | gsoc2013-evolution-75a1cb19cdba3774d8d76ac9bf238254545b018f.tar.gz gsoc2013-evolution-75a1cb19cdba3774d8d76ac9bf238254545b018f.tar.zst gsoc2013-evolution-75a1cb19cdba3774d8d76ac9bf238254545b018f.zip |
Added this function.
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* 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
Diffstat (limited to 'widgets/table/e-table.h')
-rw-r--r-- | widgets/table/e-table.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; |