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



commit 01cdd1df921a10ab40ef709351b785575928444d
Author: Milan Crha <mcrha redhat com>
Date:   Fri May 6 11:24:54 2016 +0200

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

 libedataserver/e-source-mail-identity.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/libedataserver/e-source-mail-identity.c b/libedataserver/e-source-mail-identity.c
index bd13ca7..06cabf7 100644
--- a/libedataserver/e-source-mail-identity.c
+++ b/libedataserver/e-source-mail-identity.c
@@ -398,8 +398,7 @@ e_source_mail_identity_dup_name (ESourceMailIdentity *extension)
  * Sets the sender's name for this identity.
  *
  * The internal copy of @name is automatically stripped of leading and
- * trailing whitespace.  If @name is %NULL or the resulting string is
- * empty, the result of g_get_real_name() is set instead.
+ * trailing whitespace.
  *
  * Since: 3.6
  **/
@@ -420,9 +419,6 @@ e_source_mail_identity_set_name (ESourceMailIdentity *extension,
        g_free (extension->priv->name);
        extension->priv->name = e_util_strdup_strip (name);
 
-       if (extension->priv->name == NULL)
-               extension->priv->name = g_strdup (g_get_real_name ());
-
        e_source_extension_property_unlock (E_SOURCE_EXTENSION (extension));
 
        g_object_notify (G_OBJECT (extension), "name");


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