aboutsummaryrefslogtreecommitdiffstats
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
parent694b993d7dbad1193b3a6b3b0a920379e8904d04 (diff)
downloadgsoc2013-evolution-410c784fb55bcb019c33fd4f3c5cb1ecdce59e94.tar.gz
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
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 534acd4507..1e0cbb48ed 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-06 Suman Manjunath <msuman@novell.com>
+
+ ** Fix for bug #458968 (bugzilla.novell.com)
+
+ * gui/dialogs/comp-editor.c (comp_editor_set_summary),
+ (comp_editor_set_changed): Don't warn the user about changes being lost
+ if he is trying to delegate the meeting.
+
2009-01-05 Ashish Shrivastava <shashish@novell.com>
** Fix for bug #458153 (bugzilla.novell.com)
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) {