aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2009-05-21 16:40:36 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2009-05-21 16:40:36 +0800
commit3b946037007857c3d2be0c39db0782f9dbaef461 (patch)
tree61ef129814e9907f346ed92198e2342753a0dbfd /calendar/gui/dialogs/comp-editor.c
parent66687b22ec92a829f752c39fa9418be33b16c0bd (diff)
downloadgsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar.gz
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar.bz2
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar.lz
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar.xz
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.tar.zst
gsoc2013-evolution-3b946037007857c3d2be0c39db0782f9dbaef461.zip
Adds the resend feature to GroupWise features.
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 2a1513327e..545fca4448 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1848,7 +1848,7 @@ comp_editor_set_summary (CompEditor *editor,
!editor->priv->warned &&
!(editor->priv->flags & COMP_EDITOR_DELEGATE) &&
editor->priv->existing_org &&
- !editor->priv->user_org;
+ !editor->priv->user_org && !(editor->priv->flags & COMP_EDITOR_NEW_ITEM);
if (show_warning) {
e_notice (
@@ -1896,7 +1896,8 @@ comp_editor_set_changed (CompEditor *editor,
show_warning =
changed && !editor->priv->warned &&
!(editor->priv->flags & COMP_EDITOR_DELEGATE) &&
- editor->priv->existing_org && !editor->priv->user_org;
+ editor->priv->existing_org && !editor->priv->user_org
+ && !(editor->priv->flags & COMP_EDITOR_NEW_ITEM);
if (show_warning) {
e_notice (
@@ -2701,7 +2702,7 @@ page_dates_changed_cb (CompEditor *editor,
if (page != (CompEditorPage *) l->data)
comp_editor_page_set_dates (l->data, dates);
- if (!priv->warned && priv->existing_org && !priv->user_org) {
+ if (!priv->warned && priv->existing_org && !priv->user_org && !(editor->priv->flags & COMP_EDITOR_NEW_ITEM)) {
e_notice (priv->notebook, GTK_MESSAGE_INFO,
_("Changes made to this item may be discarded if an update arrives"));
priv->warned = TRUE;