aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-actions.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-09-01 12:35:02 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-09-01 12:35:02 +0800
commit65edf39de973207ca62acbcc7887eb2dce614537 (patch)
treea4f9a9a6d264af955cc01e7e561d089c6bca1fb6 /composer/e-composer-actions.c
parentb52cf4cc095e7165f2509a6b091ba07781047350 (diff)
downloadgsoc2013-evolution-65edf39de973207ca62acbcc7887eb2dce614537.tar.gz
gsoc2013-evolution-65edf39de973207ca62acbcc7887eb2dce614537.tar.zst
gsoc2013-evolution-65edf39de973207ca62acbcc7887eb2dce614537.zip
Milan Crha <mcrha@redhat.com> ** Fix for bug #545661 (Skip question for not-saved only when not changed or application is exiting).
svn path=/trunk/; revision=36241
Diffstat (limited to 'composer/e-composer-actions.c')
-rw-r--r--composer/e-composer-actions.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index 07ec555452..e16a207005 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -127,9 +127,8 @@ action_close_cb (GtkAction *action,
editor = GTKHTML_EDITOR (composer);
widget = GTK_WIDGET (composer);
- if (!gtkhtml_editor_get_changed (editor) &&
- e_composer_autosave_get_saved (composer)) {
-
+ if (!gtkhtml_editor_get_changed (editor) ||
+ e_msg_composer_is_exiting (composer)) {
gtk_widget_destroy (widget);
return;
}