aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-config-assistant.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-23 08:08:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-23 08:12:11 +0800
commite9b5561fd07e799b9c292eb2792f9a8b334204cf (patch)
treeb93a5fe60d67f4ca145b612245620cd853e683f5 /mail/e-mail-config-assistant.c
parent97792841a09d2617fb297940d887fd7233b1eb2d (diff)
downloadgsoc2013-evolution-e9b5561fd07e799b9c292eb2792f9a8b334204cf.tar.gz
gsoc2013-evolution-e9b5561fd07e799b9c292eb2792f9a8b334204cf.tar.zst
gsoc2013-evolution-e9b5561fd07e799b9c292eb2792f9a8b334204cf.zip
EMailConfigSummaryPage: Remove "account-name" property.
It's redundant. Just set the display name on one of the ESources.
Diffstat (limited to 'mail/e-mail-config-assistant.c')
-rw-r--r--mail/e-mail-config-assistant.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/e-mail-config-assistant.c b/mail/e-mail-config-assistant.c
index e6fa0e3074..680463c76d 100644
--- a/mail/e-mail-config-assistant.c
+++ b/mail/e-mail-config-assistant.c
@@ -249,11 +249,10 @@ mail_config_assistant_autoconfigure_cb (GObject *source_object,
e_mail_config_service_page_auto_configure (
priv->sending_page, autoconfig);
- /* Also set the initial account name to the email address
+ /* Also set the initial display name to the email address
* given so the user can just click past the Summary page. */
email_address = e_mail_autoconfig_get_email_address (autoconfig);
- e_mail_config_summary_page_set_account_name (
- priv->summary_page, email_address);
+ e_source_set_display_name (priv->identity_source, email_address);
/* XXX Can't find a better way to learn the page number of
* the summary page. Oh my god this API is horrible. */