[evolution] Bug 777207 - Allow e-mail address change for GOA configured accounts



commit ff1fed49fd7897bc90decfdd176659be3de75ead
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 17 18:19:56 2017 +0100

    Bug 777207 - Allow e-mail address change for GOA configured accounts

 src/mail/e-mail-config-notebook.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/mail/e-mail-config-notebook.c b/src/mail/e-mail-config-notebook.c
index e081a0d..6310149 100644
--- a/src/mail/e-mail-config-notebook.c
+++ b/src/mail/e-mail-config-notebook.c
@@ -321,7 +321,7 @@ mail_config_notebook_constructed (GObject *object)
        gboolean add_receiving_page = TRUE;
        gboolean add_sending_page = TRUE;
        gboolean add_transport_source;
-       gboolean online_account = FALSE;
+       gboolean online_account = FALSE, goa_account = FALSE;
 
        notebook = E_MAIL_CONFIG_NOTEBOOK (object);
 
@@ -345,6 +345,7 @@ mail_config_notebook_constructed (GObject *object)
                extension_name = E_SOURCE_EXTENSION_GOA;
                if (e_source_has_extension (source, extension_name)) {
                        online_account = TRUE;
+                       goa_account = TRUE;
                        add_receiving_page = FALSE;
                        add_sending_page = FALSE;
                }
@@ -388,7 +389,7 @@ mail_config_notebook_constructed (GObject *object)
                e_mail_config_identity_page_set_show_account_info (
                        E_MAIL_CONFIG_IDENTITY_PAGE (page), FALSE);
                e_mail_config_identity_page_set_show_email_address (
-                       E_MAIL_CONFIG_IDENTITY_PAGE (page), FALSE);
+                       E_MAIL_CONFIG_IDENTITY_PAGE (page), goa_account);
        }
        e_mail_config_notebook_add_page (notebook, page);
 


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