aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 79ddbec540..e92d03004e 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-17 Michel Dänzer <michel@daenzer.net>
+
+ * e-msg-composer.c (autosave_manager_query_load_orphans): Set
+ default answer of dialog to 'yes' to try and prevent autosaved
+ messages from getting lost accidentally.
+
2003-07-23 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Revert my
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 31cddb46b1..3fce559bbd 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1401,6 +1401,7 @@ autosave_manager_query_load_orphans (AutosaveManager *am, GtkWindow *parent)
GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
_("Ximian Evolution has found unsaved files from a previous session.\n"
"Would you like to try to recover them?"));
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
load = gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_YES;
gtk_widget_destroy(dialog);
}