aboutsummaryrefslogtreecommitdiffstats
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
parentbfc5551e121a3ff9e54abec2004c25100d0f98a5 (diff)
downloadgsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.gz
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.bz2
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.lz
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.xz
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.tar.zst
gsoc2013-evolution-d79a40783c811837fa86f2fccd18a2ed25c2d90e.zip
Set the sensitivity of the buttons correctly
svn path=/trunk/; revision=13029
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-account-gui.c4
2 files changed, 8 insertions, 1 deletions
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 <iain@ximian.com>
+
+ * mail-account-gui.c (mail_account_gui_new): Set the sensitivity of the
+ edit buttons correctly.
+
2001-09-20 <NotZed@Ximian.com>
* 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);