|
|
|
|
@ -751,6 +751,8 @@ void yon_hash_entry_sensitiveness_update(GtkWidget *, password_window *dialog){
|
|
|
|
|
|
|
|
|
|
void on_password_open(GtkWidget *, web_publication_add_window *window){
|
|
|
|
|
password_window *dialog = yon_password_window_new();
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->NoEncriptionCheck),"toggled",G_CALLBACK(yon_hash_entry_sensitiveness_update),dialog);
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->EncryptionCombo),"changed",G_CALLBACK(yon_hash_entry_sensitiveness_update),dialog);
|
|
|
|
|
yon_gtk_entry_set_password_visibility_icon(GTK_ENTRY(dialog->PasswordEntry));
|
|
|
|
|
yon_gtk_entry_set_password_visibility_icon(GTK_ENTRY(dialog->PasswordHashEntry));
|
|
|
|
|
yon_gtk_entry_set_password_visibility_icon(GTK_ENTRY(dialog->RepeatPasswordEntry));
|
|
|
|
|
@ -772,8 +774,6 @@ void on_password_open(GtkWidget *, web_publication_add_window *window){
|
|
|
|
|
yon_dictionary_add_or_create_if_exists_with_data(dict,"window",dialog);
|
|
|
|
|
yon_dictionary_add_or_create_if_exists_with_data(dict,"target",window->UserPasswordEntry);
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->AcceptButton),"clicked",G_CALLBACK(on_password_accept),dict);
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->NoEncriptionCheck),"toggled",G_CALLBACK(yon_hash_entry_sensitiveness_update),dialog);
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->EncryptionCombo),"changed",G_CALLBACK(yon_hash_entry_sensitiveness_update),dialog);
|
|
|
|
|
g_signal_connect(G_OBJECT(dialog->EncryptionCombo),"changed",G_CALLBACK(on_password_encryption_changed),dialog);
|
|
|
|
|
yon_gtk_window_setup(GTK_WINDOW(dialog->Window),GTK_WINDOW(window->Window),PASSWORD_INPUT_LABEL,icon_path,"password_window");
|
|
|
|
|
}
|
|
|
|
|
|