|
|
|
|
@ -595,13 +595,13 @@ ubl_settings_usergroups_additional_settings_window *yon_ubl_settings_usergroups_
|
|
|
|
|
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);
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(window->DefaultPasswordCombo),2);
|
|
|
|
|
}
|
|
|
|
|
char *root_password = yon_config_get_by_key("DEFAULTROOTPASSWD");
|
|
|
|
|
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);
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(window->RootPasswordCombo),2);
|
|
|
|
|
}
|
|
|
|
|
char *is_k_admin = yon_config_get_by_key("ADDADM");
|
|
|
|
|
if (!yon_char_is_empty(is_k_admin))
|
|
|
|
|
|