aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index b1686c9908..8b5b5b86cb 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -132,12 +132,11 @@ identity_prepare (MailConfigWizard *mcw)
{
mcw->page = MAIL_CONFIG_WIZARD_PAGE_IDENTITY;
- name =
if (!gtk_entry_get_text (mcw->gui->full_name)) {
char *uname;
-
+
uname = g_locale_to_utf8 (g_get_real_name (), -1, NULL, NULL, NULL);
- gtk_entry_set_text (mcw->gui->full_name, name ? name : "");
+ gtk_entry_set_text (mcw->gui->full_name, uname ? uname : "");
g_free (uname);
}
identity_changed (NULL, mcw);