[evolution] BUG #472079 (BNC) - Cannot Edit Account When Proxy



commit 6fd1081b2d3d02b0b5b1b0889bc45512910db325
Author: Bharath Acharya <abharath novell com>
Date:   Mon Jul 27 10:55:45 2009 +0530

    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.

 mail/em-account-prefs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-account-prefs.c b/mail/em-account-prefs.c
index 1d475c0..cf93ced 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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]