diff options
author | Milan Crha <mcrha@redhat.com> | 2007-11-26 18:16:52 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-11-26 18:16:52 +0800 |
commit | e1cbf635f8c681643294d74eceba71ad8aa5a046 (patch) | |
tree | ab5285a7e8f0b139e3ecab4f20d6f2efc48bb0ff /calendar/gui/dialogs/task-editor.c | |
parent | ced5862cb604ccaad1ff82090b972b875e36724b (diff) | |
download | gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar.gz gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar.bz2 gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar.lz gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar.xz gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.tar.zst gsoc2013-evolution-e1cbf635f8c681643294d74eceba71ad8aa5a046.zip |
** Fix for bug #380644
2007-11-26 Milan Crha <mcrha@redhat.com>
** Fix for bug #380644
* gui/dialogs/task-page.h: (task_page_add_attendee):
* gui/dialogs/task-page.c: (task_page_add_attendee):
* gui/dialogs/event-page.h: (event_page_add_attendee):
* gui/dialogs/event-page.c: (event_page_add_attendee):
New function to add attendee to store and name selector.
* gui/dialogs/task-page.c: (remove_attendee): Remove attendee also
from name selector (keep consistent).
* gui/dialogs/task-editor.c: (task_editor_edit_comp):
Use task_page_add_attendee to add known attendees.
* gui/dialogs/event-editor.c: (event_editor_edit_comp):
Use event_page_add_attendee to add known attendees.
* gui/e-meeting-store.c: (e_meeting_store_remove_all_attendees),
(e_meeting_store_remove_attendee): Code cleanup by Matthew Barnes.
svn path=/trunk/; revision=34582
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r-- | calendar/gui/dialogs/task-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index 8c9ee465e6..bf79e6433c 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -522,9 +522,9 @@ task_editor_edit_comp (CompEditor *editor, ECalComponent *comp) /* If we aren't the organizer or the attendee is just delegating, don't allow editing */ if (!comp_editor_get_user_org (editor) || e_meeting_attendee_is_set_delto (ia)) e_meeting_attendee_set_edit_level (ia, E_MEETING_ATTENDEE_EDIT_NONE); - e_meeting_store_add_attendee (priv->model, ia); + task_page_add_attendee (priv->task_page, ia); - g_object_unref(ia); + g_object_unref (ia); } /* If we aren't the organizer we can still change our own status */ |