aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c5
1 files changed, 3 insertions, 2 deletions
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);
}