aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-filter-bar.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-24 09:48:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-24 09:48:20 +0800
commit4b68843dfa4f807b5b768e65d353b30d3ca91d1a (patch)
treede10c105fc9cf0029268ead7e572c0678a889165 /widgets/misc/e-filter-bar.h
parentd45b7b4852ed7972f40f65af0b04b02de8b696a5 (diff)
downloadgsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.gz
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.bz2
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.lz
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.xz
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.zst
gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.zip
If the clear button was pressed, we want the entry to be sensitive (not
2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (option_changed): If the clear button was pressed, we want the entry to be sensitive (not insensitive). * e-search-bar.c (e_search_bar_set_item_id): If the item id is CLEAR_ID, we want to select the first item (0) but still set the esb->item_id to CLEAR_ID. (set_find_now_sensitive): Don't bother getting the GtkEntry text, we don't even use it? (clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather than 0 so that it can be checked for. svn path=/trunk/; revision=18421
Diffstat (limited to 'widgets/misc/e-filter-bar.h')
-rw-r--r--widgets/misc/e-filter-bar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-filter-bar.h b/widgets/misc/e-filter-bar.h
index 15663c41d4..c824b5fced 100644
--- a/widgets/misc/e-filter-bar.h
+++ b/widgets/misc/e-filter-bar.h
@@ -81,11 +81,11 @@ struct _EFilterBarClass
/* "preset" items */
enum {
/* preset menu options */
- E_FILTERBAR_SAVE_ID = -2,
- E_FILTERBAR_EDIT_ID = -3,
+ E_FILTERBAR_SAVE_ID = -3,
+ E_FILTERBAR_EDIT_ID = -4,
/* preset option options */
- E_FILTERBAR_ADVANCED_ID = -4,
+ E_FILTERBAR_ADVANCED_ID = -5,
};
#define E_FILTERBAR_SAVE { N_("_Save Search..."), E_FILTERBAR_SAVE_ID, NULL }