diff options
author | JP Rosevear <jpr@ximian.com> | 2002-09-27 00:14:44 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-09-27 00:14:44 +0800 |
commit | d12a61b7104abba08476012dc7436a4bf2d43fe0 (patch) | |
tree | cf059f61ab16e15f45522c25eae28364b5b52ba0 /calendar | |
parent | e04d2b2255b0e5774714c5067762a9a78b7e9a12 (diff) | |
download | gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.gz gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.bz2 gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.lz gsoc2013-evolution-d12a61b7104abba08476012dc7436a4bf2d43fe0.tar.xz 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')
-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)); |