diff options
-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))) |