diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-11 12:20:27 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-11 12:20:27 +0800 |
commit | 0dd1662b86af2613fb2f672f3f8a3fa2302732e5 (patch) | |
tree | 7fcec955ba82860d877afa9d1a24181cc4adca55 | |
parent | d601244b7f501141daaf494854925c9e6df592eb (diff) | |
download | gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.gz gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.bz2 gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.lz gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.xz gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.zst gsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.zip |
Set the 'No' button as the default.
2002-04-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (confirm_expunge): Set the 'No' button as the
default.
svn path=/trunk/; revision=16435
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a6328d659b..c04aa63c13 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-04-10 Jeffrey Stedfast <fejj@ximian.com> + + * mail-callbacks.c (confirm_expunge): Set the 'No' button as the + default. + 2002-04-10 Dan Winship <danw@ximian.com> * mail-config.c (config_read, mail_config_write, diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 2f45924595..39c3126f8a 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2614,6 +2614,9 @@ confirm_expunge (FolderBrowser *fb) gtk_widget_show (checkbox); gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), checkbox, TRUE, TRUE, 4); + /* Set the 'No' button as the default */ + gnome_dialog_set_default (GNOME_DIALOG (dialog), 1); + button = gnome_dialog_run_and_close (GNOME_DIALOG (dialog)); if (button == 0 && gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (checkbox))) |