diff options
author | Milan Crha <mcrha@redhat.com> | 2009-01-23 19:41:55 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2009-01-23 19:41:55 +0800 |
commit | a8abd0060bdec73f774c665dd0488623dd4932ba (patch) | |
tree | 52aeed8ba8a6e82af45ca3762e194bd868e312f3 /calendar/gui/dialogs/task-page.c | |
parent | 9e22e250e3bee2fe7160380582eed1102b7ba922 (diff) | |
download | gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar.gz gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar.bz2 gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar.lz gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar.xz gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.tar.zst gsoc2013-evolution-a8abd0060bdec73f774c665dd0488623dd4932ba.zip |
** Fix for bug #442869
2009-01-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #442869
* gui/dialogs/task-page.c: (attendee_added_cb):
* gui/dialogs/event-page.c: (attendee_added_cb): Do not work
with NULL delegator and do not set 'delfrom' with two MAILTO.
* gui/e-meeting-list-view.c: (name_selector_dialog_close_cb):
Delete attendee only if we have enough rights for it.
svn path=/trunk/; revision=37123
Diffstat (limited to 'calendar/gui/dialogs/task-page.c')
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 7f2969abd2..c00a42f4bc 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -1160,8 +1160,11 @@ attendee_added_cb (EMeetingListView *emlv, EMeetingAttendee *delegator; delegator = e_meeting_store_find_attendee (priv->model, delegator_id, NULL); + + g_return_if_fail (delegator != NULL); + e_meeting_attendee_set_delto (delegator, - g_strdup (e_meeting_attendee_get_address (ia))); + g_strdup (e_meeting_attendee_get_address (ia))); gtk_widget_set_sensitive (priv->invite, FALSE); gtk_widget_set_sensitive (priv->add, FALSE); |