aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-29 02:28:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-29 02:28:12 +0800
commitd0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e (patch)
tree34a127e325bd487051bd13411946e50184f79cbd /addressbook/backend/ebook
parent9d549377556c1d283084b3d0f78afa4fd64fb23c (diff)
downloadgsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.gz
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.bz2
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.lz
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.xz
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.zst
gsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.zip
Revert my previous change as trow says this will break auto-completion
2002-01-28 Jeffrey Stedfast <fejj@ximian.com> * backend/ebook/e-destination.c (e_destination_is_valid): Revert my previous change as trow says this will break auto-completion stuff. svn path=/trunk/; revision=15496
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-destination.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index 9b72a1439a..5e4ebfa488 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -363,7 +363,7 @@ e_destination_is_valid (const EDestination *dest)
check to make sure that the address was valid according to
rfc822's addr-spec grammar. */
- return email && *email;
+ return email && *email && strchr (email, '@');
}
gboolean