diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-08-17 03:47:57 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-08-17 03:47:57 +0800 |
commit | fd7cce60919fb86549b477a344f54a1c101af434 (patch) | |
tree | a5f027163c85d645ad3f004e229d613421dc8ca3 /widgets/text/e-completion-match.c | |
parent | 9333af2f12cdfe27cfa02fdb5e7634b2d310e967 (diff) | |
download | gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar.gz gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar.bz2 gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar.lz gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar.xz gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.tar.zst gsoc2013-evolution-fd7cce60919fb86549b477a344f54a1c101af434.zip |
Added "hit_count" to ECompletionMatch. Used by search
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-match.h: Added "hit_count" to
ECompletionMatch. Used by search refinement/unrefinement.
* gal/e-text/e-completion.c (e_completion_refine_search): Added.
Handle automatic search refinements.
(e_completion_unrefine_search): Added. Handle automatic search
"unrefinements", or reversions.
(e_completion_begin_search): Check if the refinement or
unrefinement operations can be used to handle the search. Emit
"request_search" at the end of the call.
(e_completion_class_init): Added a new signal "request_search".
"begin_search" is now purely informational, telling views that a
series of matches and an "end_search" are forthcoming.
* configure.in: Increment version of 0.10.99.3.
svn path=/trunk/; revision=12116
Diffstat (limited to 'widgets/text/e-completion-match.c')
-rw-r--r-- | widgets/text/e-completion-match.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/widgets/text/e-completion-match.c b/widgets/text/e-completion-match.c index 6e7863f887..c14c8fe40a 100644 --- a/widgets/text/e-completion-match.c +++ b/widgets/text/e-completion-match.c @@ -48,13 +48,14 @@ e_completion_match_construct (ECompletionMatch *match) g_return_if_fail (match != NULL); match->match_text = NULL; - match->menu_text = NULL; - match->score = 0; + match->menu_text = NULL; + match->score = 0; match->sort_major = 0; match->sort_minor = 0; - match->user_data = NULL; - match->ref = 1; - match->destroy = NULL; + match->user_data = NULL; + match->ref = 1; + match->hit_count = 0; + match->destroy = NULL; } void |