aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-09-27 00:14:44 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-09-27 00:14:44 +0800
commitd12a61b7104abba08476012dc7436a4bf2d43fe0 (patch)
treecf059f61ab16e15f45522c25eae28364b5b52ba0 /calendar/gui
parente04d2b2255b0e5774714c5067762a9a78b7e9a12 (diff)
downloadgsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.gz
gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.zst
gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.zip
only change the attendee value if it isn't empty
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 svn path=/trunk/; revision=18234
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-meeting-model.c3
1 files changed, 2 insertions, 1 deletions
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));