diff --git a/sflphone-client-gnome/src/config/accountconfigdialog.c b/sflphone-client-gnome/src/config/accountconfigdialog.c index 97c0bb1344cccdf21f5debb94772315db0d58494..7323ba0b4c17054857a331a455e0a78a0a1e3a1a 100644 --- a/sflphone-client-gnome/src/config/accountconfigdialog.c +++ b/sflphone-client-gnome/src/config/accountconfigdialog.c @@ -443,7 +443,7 @@ static void fill_treeview_with_credential (GtkListStore * credentialStore, accou { GtkTreeIter iter; gtk_list_store_clear(credentialStore); - + /* This is the default, undeletable credential */ /* // gtk_list_store_append (credentialStore, &iter); @@ -471,11 +471,11 @@ static void fill_treeview_with_credential (GtkListStore * credentialStore, accou g_signal_handlers_disconnect_by_func (G_OBJECT(entryUsername), G_CALLBACK(update_credential_cb), NULL); } - if(account->credential_information == NULL) { + */ + if(account->credential_information == NULL) { DEBUG("No credential defined"); return; } - */ unsigned int i; for(i = 0; i < account->credential_information->len; i++) @@ -816,7 +816,9 @@ GtkWidget* create_credential_widget (account_t **a) { gtk_container_add(GTK_CONTAINER(scrolledWindowCredential), treeViewCredential); + DEBUG("Credential pas ok"); fill_treeview_with_credential(credentialStore, *a); + DEBUG("Credential ok"); /* Credential Buttons */ hbox = gtk_hbox_new(FALSE, 10); diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp index d2cb0e0178895935e9fab7d57bb97c9aa3e77b20..8549bb95c9b2ceb6777f7d848a5c92a441ab73e2 100755 --- a/sflphone-common/src/sip/sipaccount.cpp +++ b/sflphone-common/src/sip/sipaccount.cpp @@ -623,8 +623,6 @@ std::map<std::string, std::string> SIPAccount::getAccountDetails() a.insert(std::pair<std::string, std::string>(REGISTRATION_STATE_CODE, registrationStateCode)); a.insert(std::pair<std::string, std::string>(REGISTRATION_STATE_DESCRIPTION, registrationStateDescription)); - _debug("OK for default"); - // Add sip specific details if(getType() == "SIP") { @@ -655,8 +653,6 @@ std::map<std::string, std::string> SIPAccount::getAccountDetails() a.insert(std::pair<std::string, std::string>(ZRTP_HELLO_HASH, getZrtpHelloHash() ? "true" : "false")); a.insert(std::pair<std::string, std::string>(ZRTP_NOT_SUPP_WARNING, getZrtpNotSuppWarning() ? "true" : "false")); - _debug("OK for default again"); - // TLS listener is unique and parameters are modified through IP2IP_PROFILE std::stringstream tlslistenerport; tlslistenerport << getTlsListenerPort();