From d79a40783c811837fa86f2fccd18a2ed25c2d90e Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Thu, 20 Sep 2001 23:36:22 +0000 Subject: Set the sensitivity of the buttons correctly svn path=/trunk/; revision=13029 --- mail/ChangeLog | 5 +++++ mail/mail-account-gui.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 0c571c7bc8..3cfa062846 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-09-20 Iain Holmes + + * mail-account-gui.c (mail_account_gui_new): Set the sensitivity of the + edit buttons correctly. + 2001-09-20 * mail-vfolder.c (vfolder_register_source): Lock around diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index b65398731d..d80934b632 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1209,8 +1209,10 @@ mail_account_gui_new (MailConfigAccount *account) gnome_file_entry_set_default_path (gui->signature, g_get_home_dir ()); gnome_file_entry_set_default_path (gui->html_signature, g_get_home_dir ()); gui->edit_signature = GTK_BUTTON (glade_xml_get_widget (gui->xml, "button_edit_signature")); + gtk_widget_set_sensitive (GTK_WIDGET (gui->edit_signature), FALSE); gui->edit_html_signature = GTK_BUTTON (glade_xml_get_widget (gui->xml, "button_edit_html_signature")); - + gtk_widget_set_sensitive (GTK_WIDGET (gui->edit_html_signature), FALSE); + gtk_signal_connect (GTK_OBJECT (gnome_file_entry_gtk_entry (gui->signature)), "changed", signature_changed, gui); gtk_signal_connect (GTK_OBJECT (gnome_file_entry_gtk_entry (gui->html_signature)), "changed", html_signature_changed, gui); -- cgit