aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBharath Acharya <abharath@novell.com>2009-07-27 13:25:45 +0800
committerBharath Acharya <abharath@novell.com>2009-07-27 13:25:45 +0800
commit6fd1081b2d3d02b0b5b1b0889bc45512910db325 (patch)
treedd9c703041492a911a96aa201fce40aad8ebca08
parent919a9bde9c9af0ef4a2119909c6de9e4042de3e0 (diff)
downloadgsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar.gz
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar.bz2
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar.lz
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar.xz
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.tar.zst
gsoc2013-evolution-6fd1081b2d3d02b0b5b1b0889bc45512910db325.zip
BUG #472079 (BNC) - Cannot Edit Account When Proxy
* em-account-prefs.c (account_edit_clicked), (account_cursor_change): Do not disable the option to edit accounts when proxy accounts are enabled. Bug Description: If you open a Groupwise proxy, and then go into Edit >> Preferences you cannot edit your own email account until the proxy is closed. The Edit button is grayed out.
-rw-r--r--mail/em-account-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 1d475c0e5d..cf93ced4d1 100644
--- a/mail/em-account-prefs.c
+++ b/mail/em-account-prefs.c
@@ -183,7 +183,7 @@ account_edit_clicked (GtkButton *button, gpointer user_data)
if (gtk_tree_selection_get_selected (selection, &model, &iter))
gtk_tree_model_get (model, &iter, 3, &account, -1);
- if (account && !account->parent_uid && !mail_config_has_proxies (account)) {
+ if (account && !account->parent_uid) {
EMAccountEditor *emae;
/** @HookPoint-EMConfig: Mail Account Editor
@@ -380,7 +380,7 @@ account_cursor_change (GtkTreeSelection *selection, EMAccountPrefs *prefs)
}
if ( url != NULL )
- gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_edit), !mail_config_has_proxies(account));
+ gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_edit), TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (prefs->mail_delete), state);