aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c6
-rw-r--r--mail/message-list.c2
3 files changed, 12 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 89d72960bd..cdeb4052bb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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
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 (
diff --git a/mail/message-list.c b/mail/message-list.c
index 42bfed049e..ff1bc995df 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -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")