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
This commit is contained in:
Miguel de Icaza
2001-01-15 08:11:57 +00:00
committed by Miguel de Icaza
parent 8da5139f16
commit b2d82f7fb8
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-01-15 Miguel de Icaza <miguel@ximian.com>
* mail-callbacks.c (configure_mail): Set the default button to
`Yes' here.
2001-01-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (source_auth_init): If the preferred

View File

@ -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 (

View File

@ -1103,7 +1103,7 @@ save_header_state(MessageList *ml)
}
#ifdef JUST_FOR_TRANSLATORS
static char list [] = {
static char *list [] = {
N_("Status"), N_("Flagged"), N_("Score"), N_("Attachment"),
N_("From"), N_("Subject"), N_("Date"), N_("Received"),
N_("To"), N_("Size")