aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMichel Dänzer <michel@daenzer.net>2003-07-24 02:17:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-24 02:17:20 +0800
commit0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705 (patch)
tree1389f48004053a3dc917b6e47030b94649745e36 /composer
parentc6a8e68892c642f071f3e9be7854c5bd386f8136 (diff)
downloadgsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.gz
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.bz2
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.lz
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.xz
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.zst
gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.zip
Set default answer of dialog to 'yes' to try and prevent autosaved
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. svn path=/trunk/; revision=21922
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);
}