aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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