aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-21 07:36:22 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-21 07:36:22 +0800
commitd79a40783c811837fa86f2fccd18a2ed25c2d90e (patch)
tree5c668e417a5d28ac8ae8610556217ecfbb1a9c1b /mail/mail-account-gui.c
parentbfc5551e121a3ff9e54abec2004c25100d0f98a5 (diff)
downloadgsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.gz
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.zst
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.zip
Set the sensitivity of the buttons correctly
svn path=/trunk/; revision=13029
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c4
1 files changed, 3 insertions, 1 deletions
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);