aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2006-09-28 16:53:41 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-09-28 16:53:41 +0800
commitc1294ffa5ddbd7e341312a05c23ec1949f03967f (patch)
treeb4a03faa1d70b5f5e56d30a6bc9fd7d34c53209b /addressbook/gui
parent2b5562aee01b4db6030199deef62ea97bb573def (diff)
downloadgsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar.gz
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar.bz2
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar.lz
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar.xz
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.tar.zst
gsoc2013-evolution-c1294ffa5ddbd7e341312a05c23ec1949f03967f.zip
** Fix for bug #357811
2006-09-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #357811 * gui/widgets/e-addressbook-view.c: (search_activated): Fix for search on any type to work. svn path=/trunk/; revision=32818
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 3c00a9185d..553085e2e8 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -168,7 +168,6 @@ static GalViewCollection *collection = NULL;
enum {
ESB_FULL_NAME,
ESB_EMAIL,
- ESB_CATEGORY,
ESB_ANY,
};
@@ -1503,7 +1502,7 @@ search_activated (ESearchBar *esb, EABView *v)
// gtk_widget_show(eab_search_dialog_new(v));
}
else {
- if ((search_word && strlen (search_word)) || search_type == ESB_CATEGORY) {
+ if ((search_word && strlen (search_word))) {
GString *s = g_string_new ("");
e_sexp_encode_string (s, search_word);
switch (search_type) {