From 410c784fb55bcb019c33fd4f3c5cb1ecdce59e94 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Tue, 6 Jan 2009 09:01:01 +0000 Subject: 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 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/dialogs/comp-editor.c | 2 ++ 2 files changed, 10 insertions(+) (limited to 'calendar') 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 + + ** 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 ** 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) { -- cgit v1.2.3