|
|
|
|
@ -323,11 +323,17 @@ ubl_settings_usergroups_additional_settings_window *yon_ubl_settings_usergroups_
|
|
|
|
|
if (!yon_char_is_empty(default_user))
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->DefaultUserNameEntry),default_user);
|
|
|
|
|
char *default_password = yon_config_get_by_key("DEFAULTPASSWD");
|
|
|
|
|
if (!yon_char_is_empty(default_password))
|
|
|
|
|
if (!yon_char_is_empty(default_password)){
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->DefaultPasswordEntry),default_password);
|
|
|
|
|
if(!yon_config_check_ignore("DEFAULTPASSWD"))
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(window->DefaultPasswordCombo),3);
|
|
|
|
|
}
|
|
|
|
|
char *root_password = yon_config_get_by_key("DEFAULTROOTPASSWD");
|
|
|
|
|
if (!yon_char_is_empty(root_password))
|
|
|
|
|
if (!yon_char_is_empty(root_password)){
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->RootPasswordEntry),root_password);
|
|
|
|
|
if(!yon_config_check_ignore("DEFAULTROOTPASSWD"))
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(window->RootPasswordCombo),3);
|
|
|
|
|
}
|
|
|
|
|
char *is_k_admin = yon_config_get_by_key("ADDADM");
|
|
|
|
|
if (!yon_char_is_empty(is_k_admin))
|
|
|
|
|
if (!strcmp(is_k_admin,"yes"))
|
|
|
|
|
|