aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-06-18 12:56:39 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-06-18 12:56:39 +0800
commit7dc467803da18986cf1d1e6b0df9a1290bfee3a6 (patch)
tree3965972c3649d12a0cb03ca4c83aaf9f36ea9df1
parent494cc008639cfbaef55113d98da76c791770a987 (diff)
downloadgsoc2013-evolution-7dc467803da18986cf1d1e6b0df9a1290bfee3a6.tar.gz
gsoc2013-evolution-7dc467803da18986cf1d1e6b0df9a1290bfee3a6.tar.zst
gsoc2013-evolution-7dc467803da18986cf1d1e6b0df9a1290bfee3a6.zip
** Fix for bug #443659 from Vinod
svn path=/trunk/; revision=33690
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-account-prefs.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index ffd9404b68..25f01863e2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2007-06-18 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #443659 from Vinod
+
+ * em-account-prefs.c: (account_able_clicked),
+ (account_able_toggled), (account_cursor_change):
+
2007-06-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #330175
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 64ebeaf755..6ae6b35ed5 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -328,7 +328,7 @@ account_able_clicked (GtkButton *button, gpointer user_data)
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"));
+ gtk_button_set_label (prefs->mail_able, account->enabled ? _("Di_sable") : _("E_nable"));
/* let the rest of the application know it changed */
e_account_list_change (mail_config_get_accounts(), account);
@@ -373,7 +373,7 @@ account_able_toggled (GtkCellRendererToggle *renderer, char *arg1, gpointer user
gtk_list_store_set ((GtkListStore *) model, &iter, 0, account->enabled, -1);
if (gtk_tree_selection_iter_is_selected (selection, &iter))
- gtk_button_set_label (prefs->mail_able, account->enabled ? _("Disable") : _("Enable"));
+ gtk_button_set_label (prefs->mail_able, account->enabled ? _("Di_sable") : _("E_nable"));
/* let the rest of the application know it changed */
}
@@ -406,9 +406,9 @@ account_cursor_change (GtkTreeSelection *selection, EMAccountPrefs *prefs)
gtk_tree_model_get (model, &iter, 3, &account, -1);
url = e_account_get_string (account, E_ACCOUNT_SOURCE_URL);
if (account->source && account->enabled)
- gtk_button_set_label (prefs->mail_able, _("Disable"));
+ gtk_button_set_label (prefs->mail_able, _("Di_sable"));
else
- gtk_button_set_label (prefs->mail_able, _("Enable"));
+ gtk_button_set_label (prefs->mail_able, _("E_nable"));
} else {
gtk_widget_grab_focus (GTK_WIDGET (prefs->mail_add));
}