From: San Cho Date: Mon, 25 Feb 2013 10:41:24 +0000 (+0900) Subject: fix bug that user name was not set properly in case of others email X-Git-Tag: 2.1b_release~3^2~15^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b4261dec4a7b1111ea29bb2d9e94cc316e73214;p=apps%2Fhome%2Femail.git fix bug that user name was not set properly in case of others email --- diff --git a/setting/src/email-setting-account-set.c b/setting/src/email-setting-account-set.c index 34cc975..78a4b75 100755 --- a/setting/src/email-setting-account-set.c +++ b/setting/src/email-setting-account-set.c @@ -242,7 +242,9 @@ static void _set_others_email(struct viewdata *vd) int rgb = 0x006400ff; _set_display_name_with_email_addr(account->user_email_address, &(account->user_display_name)); - _set_user_name_with_email_addr(account->user_email_address, &(account->incoming_server_user_name)); + //_set_user_name_with_email_addr(account->user_email_address, &(account->incoming_server_user_name)); + if (!account->incoming_server_user_name) + _set_user_name_with_email_addr(account->user_email_address, &(account->incoming_server_user_name)); account->user_display_name = g_strdup(account->incoming_server_user_name); account->reply_to_address = g_strdup(account->user_email_address);