aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-11 12:20:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-11 12:20:27 +0800
commit0dd1662b86af2613fb2f672f3f8a3fa2302732e5 (patch)
tree7fcec955ba82860d877afa9d1a24181cc4adca55 /mail/mail-callbacks.c
parentd601244b7f501141daaf494854925c9e6df592eb (diff)
downloadgsoc2013-evolution-0dd1662b86af2613fb2f672f3f8a3fa2302732e5.tar.gz
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
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c3
1 files changed, 3 insertions, 0 deletions
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)))