|
|
|
|
@ -438,7 +438,7 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
|
yon_char_remove_last_symbol(default_password[0],'\n');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if ((def_size&&!strcmp(default_password[0],user_password))||yon_char_is_empty(user_password)){
|
|
|
|
|
if ((def_size>0&&!strcmp(default_password[0],user_password))||yon_char_is_empty(user_password)){
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->PasswordCombo),0);
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(widgets->PasswordEntry),"");
|
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PasswordSensitiveCheck),0);
|
|
|
|
|
@ -447,7 +447,7 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(widgets->PasswordEntry),user_password);
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->PasswordCombo),1);
|
|
|
|
|
}
|
|
|
|
|
if ((def_size&&!strcmp(default_password[0],user_password))||yon_char_is_empty(user_password)){
|
|
|
|
|
if ((def_size>0&&!strcmp(default_password[0],user_password))||yon_char_is_empty(user_password)){
|
|
|
|
|
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->AdminPasswordCombo),0);
|
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(widgets->AdminPasswordEntry),"");
|
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RootPasswordSensitiveCheck),0);
|
|
|
|
|
|