|
|
|
|
@ -270,7 +270,7 @@ void yon_user_init(main_window *widgets){
|
|
|
|
|
}
|
|
|
|
|
user->changed=1;
|
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(user->AdminCheck),1);
|
|
|
|
|
if (yon_char_is_empty(default_passwd)){
|
|
|
|
|
if (yon_char_is_empty(default_passwd)||yon_config_check_ignore(DEFAULTPASSWD_parameter)){
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(user->PasswordCombo),0);
|
|
|
|
|
gtk_entry_set_placeholder_text(GTK_ENTRY(widgets->UserRootPasswordEntry),yon_config_default_get_by_key(DEFAULTPASSWD_parameter));
|
|
|
|
|
} else {
|
|
|
|
|
@ -316,7 +316,7 @@ void yon_user_init(main_window *widgets){
|
|
|
|
|
gtk_widget_show(user->MainBox);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (yon_char_is_empty(root_password)){
|
|
|
|
|
if (yon_char_is_empty(root_password)||yon_config_check_ignore(root_password_parameter)){
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UserRootPasswordCombo),0);
|
|
|
|
|
gtk_entry_set_placeholder_text(GTK_ENTRY(widgets->UserRootPasswordEntry),yon_config_default_get_by_key(root_password_parameter));
|
|
|
|
|
} else {
|
|
|
|
|
|