diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-10-24 09:48:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-10-24 09:48:20 +0800 |
commit | 4b68843dfa4f807b5b768e65d353b30d3ca91d1a (patch) | |
tree | de10c105fc9cf0029268ead7e572c0678a889165 /widgets/misc/e-search-bar.h | |
parent | d45b7b4852ed7972f40f65af0b04b02de8b696a5 (diff) | |
download | gsoc2013-evolution-4b68843dfa4f807b5b768e65d353b30d3ca91d1a.tar.gz 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-search-bar.h')
-rw-r--r-- | widgets/misc/e-search-bar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h index 06da79aaa1..7ca10c3890 100644 --- a/widgets/misc/e-search-bar.h +++ b/widgets/misc/e-search-bar.h @@ -102,8 +102,8 @@ struct _ESearchBarClass }; enum { - E_SEARCHBAR_FIND_NOW_ID = 0, - E_SEARCHBAR_CLEAR_ID = 1 + E_SEARCHBAR_FIND_NOW_ID = -1, + E_SEARCHBAR_CLEAR_ID = -2 }; |