aboutsummaryrefslogtreecommitdiffstats
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
parent9d549377556c1d283084b3d0f78afa4fd64fb23c (diff)
downloadgsoc2013-evolution-d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e.tar.gz
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
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-destination.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 992a69f6f0..dfeb7a70e9 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-01-27 Ettore Perazzoli <ettore@ximian.com>
* gui/contact-editor/Makefile.am: Use EVOLUTION_ADDRESSBOOK_CFLAGS.
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