From 0dd1662b86af2613fb2f672f3f8a3fa2302732e5 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 11 Apr 2002 04:20:27 +0000 Subject: Set the 'No' button as the default. 2002-04-10 Jeffrey Stedfast * mail-callbacks.c (confirm_expunge): Set the 'No' button as the default. svn path=/trunk/; revision=16435 --- mail/mail-callbacks.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-callbacks.c') 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))) -- cgit