|
|
|
@ -129,10 +129,9 @@ void on_password_hash_sensitiveness(GtkWidget *,yon_password_window *window){
|
|
|
|
const char *hash = gtk_entry_get_text(GTK_ENTRY(window->PasswordHashEntry));
|
|
|
|
const char *hash = gtk_entry_get_text(GTK_ENTRY(window->PasswordHashEntry));
|
|
|
|
const char *hash_command = gtk_combo_box_get_active_id(GTK_COMBO_BOX(window->EncryptionCombo));
|
|
|
|
const char *hash_command = gtk_combo_box_get_active_id(GTK_COMBO_BOX(window->EncryptionCombo));
|
|
|
|
if (!yon_char_is_empty(hash_command)){
|
|
|
|
if (!yon_char_is_empty(hash_command)){
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->NoEncriptionCheck),1);
|
|
|
|
|
|
|
|
gtk_widget_set_sensitive(window->NoEncriptionCheck,0);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
gtk_widget_set_sensitive(window->NoEncriptionCheck,1);
|
|
|
|
gtk_widget_set_sensitive(window->NoEncriptionCheck,1);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
gtk_widget_set_sensitive(window->NoEncriptionCheck,0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!yon_char_is_empty(password)||!yon_char_is_empty(repeat_password)){
|
|
|
|
if (!yon_char_is_empty(password)||!yon_char_is_empty(repeat_password)){
|
|
|
|
gtk_widget_set_sensitive(window->HashBox,0);
|
|
|
|
gtk_widget_set_sensitive(window->HashBox,0);
|
|
|
|
|