aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-mt.c2
-rw-r--r--mail/session.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 08272a7218..ff70f8dfa9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -2,7 +2,7 @@
* session.c (mail_session_init): Tell camel to init NSS.
(mail_session_accept_dialog): Doh! NULL terminate the list of
- buttons.
+ buttons and show the label.
* mail-mt.c (do_get_accept): Same.
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 4a074b9a1f..d450d4d1b1 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -668,12 +668,14 @@ do_get_accept (struct _mail_msg *mm)
GNOME_STOCK_BUTTON_NO,
NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
+ gtk_window_set_policy (GTK_WINDOW (dialog), TRUE, TRUE, TRUE);
label = gtk_label_new (m->prompt);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label,
TRUE, TRUE, 0);
+ gtk_widget_show (label);
/* hrm, we can't run this async since the gui_port from which we're called
will reply to our message for us */
diff --git a/mail/session.c b/mail/session.c
index f9bcee3667..e5084fb7ee 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -93,12 +93,14 @@ mail_session_accept_dialog (const char *prompt, const char *key, gboolean async)
GNOME_STOCK_BUTTON_NO,
NULL);
gnome_dialog_set_default (GNOME_DIALOG (dialog), 1);
+ gtk_window_set_policy (GTK_WINDOW (dialog), TRUE, TRUE, TRUE);
label = gtk_label_new (prompt);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), label,
TRUE, TRUE, 0);
+ gtk_widget_show (label);
if (gnome_dialog_run_and_close (GNOME_DIALOG (dialog)) == 0)
return TRUE;