[evolution] Bug 765857 - Allow blank "Full Name" for email account



commit aaaf4c2577fcc21ce8f6bbb621d0fbfed95c81d4
Author: Milan Crha <mcrha redhat com>
Date:   Fri May 6 11:27:11 2016 +0200

    Bug 765857 - Allow blank "Full Name" for email account

 mail/e-mail-config-assistant.c     |    2 ++
 mail/e-mail-config-identity-page.c |    5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-config-assistant.c b/mail/e-mail-config-assistant.c
index 44ec929..3363c21 100644
--- a/mail/e-mail-config-assistant.c
+++ b/mail/e-mail-config-assistant.c
@@ -693,6 +693,8 @@ mail_config_assistant_constructed (GObject *object)
        extension = e_source_get_extension (identity_source, extension_name);
        mail_submission_extension = E_SOURCE_MAIL_SUBMISSION (extension);
 
+       e_source_mail_identity_set_name (mail_identity_extension, g_get_real_name ());
+
        e_source_mail_composition_set_drafts_folder (
                mail_composition_extension,
                e_mail_session_get_local_folder_uri (
diff --git a/mail/e-mail-config-identity-page.c b/mail/e-mail-config-identity-page.c
index 96c6d93..8b1a8fe 100644
--- a/mail/e-mail-config-identity-page.c
+++ b/mail/e-mail-config-identity-page.c
@@ -606,9 +606,10 @@ mail_config_identity_page_check_complete (EMailConfigPage *page)
        display_name = e_source_get_display_name (source);
 
        correct = name != NULL;
-       complete = complete && correct;
+       /* This is only a warning, not a blocker */
+       /* complete = complete && correct; */
 
-       e_util_set_entry_issue_hint (id_page->priv->name_entry, correct ? NULL : _("Full Name cannot be 
empty"));
+       e_util_set_entry_issue_hint (id_page->priv->name_entry, correct ? NULL : _("Full Name should not be 
empty"));
 
        correct = TRUE;
 


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