aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-01-16 06:23:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-01-16 06:23:27 +0800
commit323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc (patch)
tree7dc090fd44042dab3d3e999a67f5d67e9c66882c /mail
parentda621e54066d5121c1f789c946eb8b1a1910777b (diff)
downloadgsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.gz
gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.zst
gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.zip
Change the enable/disable button when the state changes.
2003-01-15 Not Zed <NotZed@Ximian.com> * mail-accounts.c (account_able_clicked): Change the enable/disable button when the state changes. svn path=/trunk/; revision=19487
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-accounts.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1670feb0a0..0c8c4f931d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-15 Not Zed <NotZed@Ximian.com>
+
+ * mail-accounts.c (account_able_clicked): Change the
+ enable/disable button when the state changes.
+
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (save_metainfo): Back to using e_xml_save_file().
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index e64d6f1cfc..21ce6dd6cc 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -295,6 +295,8 @@ account_able_clicked (GtkButton *button, gpointer user_data)
gtk_tree_model_get (model, &iter, 3, &account, -1);
account->enabled = !account->enabled;
gtk_list_store_set ((GtkListStore *) model, &iter, 0, account->enabled, -1);
+
+ gtk_button_set_label (prefs->mail_able, account->enabled?_("Disable"):_("Enable"));
}
if (account) {