diff options
author | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2005-12-20 17:47:56 +0800 |
---|---|---|
committer | Veerapuram Varadhan <vvaradan@src.gnome.org> | 2005-12-20 17:47:56 +0800 |
commit | 16059b3941bcc405035aef6f45a4907d4a729db4 (patch) | |
tree | 3d32cc19edd7537ee411004ebf689874024e764c /calendar/gui/cal-search-bar.h | |
parent | 99a74fa6899d4f8062d35bcac01d84c97cf330eb (diff) | |
download | gsoc2013-evolution-16059b3941bcc405035aef6f45a4907d4a729db4.tar.gz gsoc2013-evolution-16059b3941bcc405035aef6f45a4907d4a729db4.tar.zst gsoc2013-evolution-16059b3941bcc405035aef6f45a4907d4a729db4.zip |
Fixes #323125, #323126
* gui/cal-search-bar.c: Re-order the search-bar menu items and
make "Summary contains", which is what most people use to search
for an item (be it a calendar/task/memo), as default.
(cal_search_bar_construct): Do not set "Category is" as default
option in search-bar menu.
* gui/cal-search-bar.h: Re-order the bit-values in accordance to
re-ordered search-bar menu items.
svn path=/trunk/; revision=30896
Diffstat (limited to 'calendar/gui/cal-search-bar.h')
-rw-r--r-- | calendar/gui/cal-search-bar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/cal-search-bar.h b/calendar/gui/cal-search-bar.h index ed39e91d59..d5a50be9e4 100644 --- a/calendar/gui/cal-search-bar.h +++ b/calendar/gui/cal-search-bar.h @@ -38,12 +38,12 @@ G_BEGIN_DECLS typedef struct CalSearchBarPrivate CalSearchBarPrivate; enum { - CAL_SEARCH_ANY_FIELD_CONTAINS = (1 << 0), - CAL_SEARCH_SUMMARY_CONTAINS = (1 << 1), - CAL_SEARCH_DESCRIPTION_CONTAINS = (1 << 2), + CAL_SEARCH_SUMMARY_CONTAINS = (1 << 0), + CAL_SEARCH_DESCRIPTION_CONTAINS = (1 << 1), + CAL_SEARCH_CATEGORY_IS = (1 << 2), CAL_SEARCH_COMMENT_CONTAINS = (1 << 3), CAL_SEARCH_LOCATION_CONTAINS = (1 << 4), - CAL_SEARCH_CATEGORY_IS = (1 << 5) + CAL_SEARCH_ANY_FIELD_CONTAINS = (1 << 5) }; #define CAL_SEARCH_ALL (0xff) |