aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-03-05 06:22:16 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-03-05 06:22:16 +0800
commitee4b08496dd5863d166e229c33d68f3c1176064a (patch)
treeec354a1af95c795013c0088f8d8642d93dc67d18
parent896ab49a3c3cec8d616a31741df1df95bb594529 (diff)
downloadgsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar.gz
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar.bz2
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar.lz
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar.xz
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.tar.zst
gsoc2013-evolution-ee4b08496dd5863d166e229c33d68f3c1176064a.zip
Fixes #37881
2003-02-11 JP Rosevear <jpr@ximian.com> Fixes #37881 * gui/e-meeting-model.c (process_section): if the attendee is the empty string, try to get the email svn path=/trunk/; revision=20160
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-meeting-model.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4d0af4a27f..9c6db47879 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2003-02-11 JP Rosevear <jpr@ximian.com>
+
+ Fixes #37881
+
+ * gui/e-meeting-model.c (process_section): if the attendee is the
+ empty string, try to get the email
+
2003-03-04 JP Rosevear <jpr@ximian.com>
Fixes #37883
diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c
index d8dff221db..599762428c 100644
--- a/calendar/gui/e-meeting-model.c
+++ b/calendar/gui/e-meeting-model.c
@@ -1729,7 +1729,7 @@ process_section (EMeetingModel *im, GNOME_Evolution_Addressbook_SimpleCardList *
CORBA_exception_init (&ev);
/* If we couldn't get the attendee prior, get the email address as the default */
- if (attendee == NULL) {
+ if (attendee == NULL || *attendee == '\0') {
attendee = GNOME_Evolution_Addressbook_SimpleCard_get (card, GNOME_Evolution_Addressbook_SimpleCard_Email, &ev);
if (BONOBO_EX (&ev)) {
CORBA_exception_free (&ev);