From 4b68843dfa4f807b5b768e65d353b30d3ca91d1a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 24 Oct 2002 01:48:20 +0000 Subject: If the clear button was pressed, we want the entry to be sensitive (not 2002-10-23 Jeffrey Stedfast * 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 --- widgets/misc/e-filter-bar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'widgets/misc/e-filter-bar.h') 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 } -- cgit v1.2.3