diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-15 10:48:35 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-15 10:48:35 +0800 |
commit | 673fb08aefd220a96c3200c2fd2e1e97e5a642c5 (patch) | |
tree | 4956e56f6ff7c0940506752d57882355aa5a0314 /mail/session.c | |
parent | c0686e978da2010088758d28f6042b41a1110b56 (diff) | |
download | gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.gz gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.zst gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.zip |
Tell camel to init NSS. (mail_session_accept_dialog): Doh! NULL terminate
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 and show the label.
* mail-mt.c (do_get_accept): Same.
svn path=/trunk/; revision=8721
Diffstat (limited to 'mail/session.c')
-rw-r--r-- | mail/session.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |