aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2009-01-06 17:01:01 +0800
committerSuman Manjunath <msuman@src.gnome.org>2009-01-06 17:01:01 +0800
commit410c784fb55bcb019c33fd4f3c5cb1ecdce59e94 (patch)
treedcf8817622c3f5e29ac678e7bf7664d4f3a219c3 /calendar/gui/dialogs/comp-editor.c
parent694b993d7dbad1193b3a6b3b0a920379e8904d04 (diff)
downloadgsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.gz
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.bz2
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.lz
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.xz
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.zst
gsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.zip
Fix for bug #458968 (bugzilla.novell.com) - Don't warn the user about changes being lost if he is trying to delegate the meeting.
svn path=/trunk/; revision=36997
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index c69ad004cc..99d49349fd 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2434,6 +2434,7 @@ comp_editor_set_summary (CompEditor *editor,
show_warning =
!editor->priv->warned &&
+ !(editor->priv->flags & COMP_EDITOR_DELEGATE) &&
editor->priv->existing_org &&
!editor->priv->user_org;
@@ -2482,6 +2483,7 @@ 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;
if (show_warning) {