|
|
|
@ -1005,8 +1005,10 @@ void on_password_change(GtkWidget *, dictionary *entry_dict){
|
|
|
|
if (!check_is_password_hash(password)){
|
|
|
|
if (!check_is_password_hash(password)){
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->PasswordHashEntry),password);
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->PasswordHashEntry),password);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (password[0]=='%'&&password[1]=='%')
|
|
|
|
if (password[0]=='%'&&password[1]=='%'){
|
|
|
|
|
|
|
|
free(yon_char_divide(password,1));
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->NoEncriptionCheck),1);
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->NoEncriptionCheck),1);
|
|
|
|
|
|
|
|
}
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),password);
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),password);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|