From 02c9d64a9baa5bceafac384b0fa7033b7c55d6fc Mon Sep 17 00:00:00 2001 From: Johannes Schmid Date: Wed, 13 Jun 2007 15:01:04 +0000 Subject: [PATCH] 2007-06-13 Johannes Schmid * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): Fixed projects.maemo.org bug NB# 58991 pmo-trunk-r2211 --- ChangeLog2 | 5 +++++ src/maemo/easysetup/modest-easysetup-wizard.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog2 b/ChangeLog2 index c31fa8f..6728df4 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,3 +1,8 @@ +2007-06-13 Johannes Schmid + + * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): + Fixed projects.maemo.org bug NB# 58991 + 2007-06-13 Murray Cumming * src/modest-init.c: (modest_init_init_core), diff --git a/src/maemo/easysetup/modest-easysetup-wizard.c b/src/maemo/easysetup/modest-easysetup-wizard.c index 7dd5fdd..44761ca 100644 --- a/src/maemo/easysetup/modest-easysetup-wizard.c +++ b/src/maemo/easysetup/modest-easysetup-wizard.c @@ -1399,10 +1399,8 @@ create_account (ModestEasysetupWizardDialog *self, gboolean enabled) /* Increment the non-user visible name if necessary, * based on the display name: */ - gchar *account_name_start = g_strdup_printf ("%sID", display_name); gchar* account_name = modest_account_mgr_get_unused_account_name (self->account_manager, - account_name_start, FALSE /* not a server account */); - g_free (account_name_start); + display_name, FALSE /* not a server account */); /* username and password (for both incoming and outgoing): */ const gchar* username = gtk_entry_get_text (GTK_ENTRY (self->entry_user_username)); -- 1.7.9.5