aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/memo-editor.c3
-rw-r--r--calendar/gui/dialogs/memo-page.c5
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);
}