diff options
author | Not Zed <NotZed@Ximian.com> | 2003-01-16 06:23:27 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-01-16 06:23:27 +0800 |
commit | 323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc (patch) | |
tree | 7dc090fd44042dab3d3e999a67f5d67e9c66882c /mail/mail-accounts.c | |
parent | da621e54066d5121c1f789c946eb8b1a1910777b (diff) | |
download | gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.gz gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.bz2 gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.lz gsoc2013-evolution-323ebed0e7c7cb599fb946a9b45b3cf7f2f3afcc.tar.xz 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/mail-accounts.c')
-rw-r--r-- | mail/mail-accounts.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |