From bd3b4f546229f070c28fddbbc408828eee368928 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sat, 2 Feb 2002 17:14:53 +0000 Subject: Destroy the S/MIME frame if not available, instead of just graying it out. * mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME frame if not available, instead of just graying it out. [I would just hide it, but it looks like there is a show_all somewhere so that doesn't work.] svn path=/trunk/; revision=15554 --- mail/ChangeLog | 7 +++++++ mail/mail-account-gui.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index b24587db2d..614118a8ee 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2002-02-02 Ettore Perazzoli + + * mail-account-gui.c (mail_account_gui_new): Destroy the S/MIME + frame if not available, instead of just graying it out. [I would + just hide it, but it looks like there is a show_all somewhere so + that doesn't work.] + 2002-02-02 Ettore Perazzoli * mail-config.glade: Some touchups from me and Anna. diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 0eb381a708..ab1a249ff9 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1380,7 +1380,7 @@ mail_account_gui_new (MailConfigAccount *account) GtkWidget *frame; frame = glade_xml_get_widget (gui->xml, "smime_frame"); - gtk_widget_set_sensitive (frame, FALSE); + gtk_widget_destroy (frame); } #endif -- cgit