aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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) {