aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-mt.c3
-rw-r--r--mail/session.c3
3 files changed, 8 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7b765025cb..08272a7218 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,6 +1,10 @@
2001-03-14 Jeffrey Stedfast <fejj@ximian.com>
* session.c (mail_session_init): Tell camel to init NSS.
+ (mail_session_accept_dialog): Doh! NULL terminate the list of
+ buttons.
+
+ * mail-mt.c (do_get_accept): Same.
2001-03-14 Ettore Perazzoli <ettore@ximian.com>
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index e42387a0d6..4a074b9a1f 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -665,7 +665,8 @@ do_get_accept (struct _mail_msg *mm)
dialog = gnome_dialog_new (_("Do you accept?"),
GNOME_STOCK_BUTTON_YES,
- GNOME_STOCK_BUTTON_NO);
+ GNOME_STOCK_BUTTON_NO,
+ NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
label = gtk_label_new (m->prompt);
diff --git a/mail/session.c b/mail/session.c
index 49e740c1d8..f9bcee3667 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -90,7 +90,8 @@ mail_session_accept_dialog (const char *prompt, const char *key, gboolean async)
if (!async) {
dialog = gnome_dialog_new (_("Do you accept?"),
GNOME_STOCK_BUTTON_YES,
- GNOME_STOCK_BUTTON_NO);
+ GNOME_STOCK_BUTTON_NO,
+ NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
label = gtk_label_new (prompt);