From ee4b08496dd5863d166e229c33d68f3c1176064a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 4 Mar 2003 22:22:16 +0000 Subject: Fixes #37881 2003-02-11 JP Rosevear 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 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-meeting-model.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + + 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 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); -- cgit v1.2.3