aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-search-bar.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-08-14 23:48:39 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-08-14 23:48:39 +0800
commit9086989f207a11e7edb50177662539bd75da0370 (patch)
tree6c389c0e96ff99b65f6d6ddaad8540c7af72fc09 /widgets/misc/e-search-bar.c
parent866a960fd9dba9c3c7162c61b1e12feca6d12668 (diff)
downloadgsoc2013-evolution-9086989f207a11e7edb50177662539bd75da0370.tar.gz
gsoc2013-evolution-9086989f207a11e7edb50177662539bd75da0370.tar.zst
gsoc2013-evolution-9086989f207a11e7edb50177662539bd75da0370.zip
Add "Any Category" option for category searches.
2001-08-14 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c (addressbook_factory_new_control): Add "Any Category" option for category searches. (addressbook_query_changed): Do the right thing on an "Any Category" search. 2001-08-14 Jon Trowbridge <trow@ximian.com> * e-search-bar.c (activate_by_subitems): Oops... initial suboption_choice should be subitems[0].id, not 0. svn path=/trunk/; revision=12013
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r--widgets/misc/e-search-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c
index ace1983371..ddaf7ed66a 100644
--- a/widgets/misc/e-search-bar.c
+++ b/widgets/misc/e-search-bar.c
@@ -185,7 +185,7 @@ activate_by_subitems (ESearchBar *esb, gint item_id, ESearchBarSubitem *subitems
gtk_container_add (GTK_CONTAINER (esb->entry_box), esb->suboption);
- esb->suboption_choice = 0;
+ esb->suboption_choice = subitems[0].id;
}
if (esb->activate_button) {