aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@ximian.com>2001-01-15 16:11:57 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-15 16:11:57 +0800
commitb2d82f7fb8ea51bd8d67d2482cc606c06e5a560b (patch)
tree481ede708702808e5c1b148af10183cc27dd716a /mail/mail-callbacks.c
parent8da5139f16e9488604b215569f22834a7ed628e9 (diff)
downloadgsoc2013-evolution-b2d82f7fb8ea51bd8d67d2482cc606c06e5a560b.tar.gz
gsoc2013-evolution-b2d82f7fb8ea51bd8d67d2482cc606c06e5a560b.tar.zst
gsoc2013-evolution-b2d82f7fb8ea51bd8d67d2482cc606c06e5a560b.zip
Set the default button to `Yes' here.
2001-01-15 Miguel de Icaza <miguel@ximian.com> * mail-callbacks.c (configure_mail): Set the default button to `Yes' here. svn path=/trunk/; revision=7498
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 47122737c3..c5472d961b 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -87,6 +87,12 @@ configure_mail (FolderBrowser *fb)
GNOME_STOCK_BUTTON_YES,
GNOME_STOCK_BUTTON_NO, NULL);
+ /*
+ * Focus YES
+ */
+ gnome_dialog_set_default (GNOME_DIALOG (dialog), 0);
+ gtk_widget_grab_focus (GTK_WIDGET (GNOME_DIALOG (dialog)->buttons->data));
+
gnome_dialog_set_parent (
GNOME_DIALOG (dialog),
GTK_WINDOW (gtk_widget_get_ancestor (