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 | |
parent | c0686e978da2010088758d28f6042b41a1110b56 (diff) | |
download | gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.gz gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.bz2 gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.lz gsoc2013-evolution-673fb08aefd220a96c3200c2fd2e1e97e5a642c5.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 | ||||
-rw-r--r-- | mail/session.c | 2 |
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; |