diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-08-10 15:53:02 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-08-10 15:53:02 +0800 |
commit | 38280bb1daa5fe3712f28781ac61591bcdd521d1 (patch) | |
tree | 4d1e481ab29c43528d12618f6bdda473488b4146 /calendar/gui/dialogs | |
parent | d7e017d1bf0c1237bcd4c94e62378a2bd6f56538 (diff) | |
download | gsoc2013-evolution-38280bb1daa5fe3712f28781ac61591bcdd521d1.tar.gz gsoc2013-evolution-38280bb1daa5fe3712f28781ac61591bcdd521d1.tar.zst gsoc2013-evolution-38280bb1daa5fe3712f28781ac61591bcdd521d1.zip |
Do not resend the memos while modification.
svn path=/trunk/; revision=32521
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/memo-editor.c | 3 | ||||
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/memo-editor.c b/calendar/gui/dialogs/memo-editor.c index 2c6356988d..56ad644801 100644 --- a/calendar/gui/dialogs/memo-editor.c +++ b/calendar/gui/dialogs/memo-editor.c @@ -247,9 +247,6 @@ memo_editor_edit_comp (CompEditor *editor, ECalComponent *comp) CompEditorFlags flags = comp_editor_get_flags (editor); ECal *client = comp_editor_get_e_cal (editor); - if (flags & COMP_EDITOR_IS_SHARED) - comp_editor_set_needs_send (editor, itip_organizer_is_user (comp, client)); - if (COMP_EDITOR_CLASS (memo_editor_parent_class)->edit_comp) COMP_EDITOR_CLASS (memo_editor_parent_class)->edit_comp (editor, comp); } diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 41d03f322b..1bd47883d5 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -703,7 +703,7 @@ memo_page_fill_component (CompEditorPage *page, ECalComponent *comp) if (str) g_free (str); - if ((page->flags & COMP_EDITOR_PAGE_IS_SHARED) && (page->flags & COMP_EDITOR_PAGE_NEW_ITEM) && fill_comp_with_recipients (priv->name_selector, comp)) { + if ((page->flags & COMP_EDITOR_PAGE_IS_SHARED) && fill_comp_with_recipients (priv->name_selector, comp)) { ECalComponentOrganizer organizer = {NULL, NULL, NULL, NULL}; EAccount *a; @@ -731,7 +731,8 @@ memo_page_fill_component (CompEditorPage *page, ECalComponent *comp) organizer.cn = a->id->name; e_cal_component_set_organizer (comp, &organizer); - comp_editor_page_notify_needs_send (page); + if (page->flags & COMP_EDITOR_PAGE_NEW_ITEM) + comp_editor_page_notify_needs_send (page); g_free (addr); } |