diff options
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-meeting-model.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a7fd2aeb4a..94f6faa2bd 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2002-09-26 JP Rosevear <jpr@ximian.com> + + * gui/e-meeting-model.c (set_value_at): only change the attendee + value if it isn't empty + 2002-09-26 Rodrigo Moya <rodrigo@ximian.com> Should fix once for all #24210 diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c index 19de8b147b..d0e08b781a 100644 --- a/calendar/gui/e-meeting-model.c +++ b/calendar/gui/e-meeting-model.c @@ -466,7 +466,8 @@ set_value_at (ETableModel *etm, int col, int row, const void *val) switch (col) { case E_MEETING_MODEL_ADDRESS_COL: - e_meeting_attendee_set_address (ia, g_strdup_printf ("MAILTO:%s", (char *) val)); + if (val != NULL && *((char *)val)) + e_meeting_attendee_set_address (ia, g_strdup_printf ("MAILTO:%s", (char *) val)); break; case E_MEETING_MODEL_MEMBER_COL: e_meeting_attendee_set_member (ia, g_strdup (val)); |