diff options
author | Michel DÃÂänzer <michel@daenzer.net> | 2003-07-24 02:17:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-24 02:17:20 +0800 |
commit | 0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705 (patch) | |
tree | 1389f48004053a3dc917b6e47030b94649745e36 /composer | |
parent | c6a8e68892c642f071f3e9be7854c5bd386f8136 (diff) | |
download | gsoc2013-evolution-0dd1d18f1ab6609c1c38f9e97a0702cc71ce2705.tar.gz 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/ChangeLog | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 1 |
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); } |