aboutsummaryrefslogtreecommitdiffstats
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
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
-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")