mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
do not display '????'
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@646 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
7904f6a229
commit
4e7fd433aa
1 changed files with 4 additions and 3 deletions
|
|
@ -46,9 +46,10 @@ void linphone_gtk_show_login_frame(LinphoneProxyConfig *cfg){
|
|||
osip_from_parse(from,linphone_proxy_config_get_identity(cfg));
|
||||
|
||||
ai=linphone_core_find_auth_info(lc,linphone_proxy_config_get_domain(cfg),from->url->username);
|
||||
/*display the last entered username*/
|
||||
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_username")),
|
||||
from->url->username);
|
||||
/*display the last entered username, if not '?????'*/
|
||||
if (from->url->username[0]!='?')
|
||||
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_username")),
|
||||
from->url->username);
|
||||
gtk_entry_set_text(GTK_ENTRY(linphone_gtk_get_widget(mw,"login_password")),
|
||||
ai!=NULL ? ai->passwd : "");
|
||||
if (linphone_core_get_download_bandwidth(lc)==0 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue