diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 2555ba9..d733d57 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -415,11 +415,12 @@ void yon_interface_update(main_window *widgets){ gtk_list_store_set(widgets->WebPublicationList,&iter,5,parsed[3],-1); } if (cur_size>4&&!yon_char_is_empty(parsed[4])){ - if (!strcmp(parsed[4],"sha256")||!strcmp(parsed[4],"sha512")){ - gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1); - gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1); + char *hash = yon_char_divide_search(parsed[4],"|",-1); + if (!strcmp(hash,"sha256")||!strcmp(hash,"sha512")){ + gtk_list_store_set(widgets->WebPublicationList,&iter,7,"******",-1); + gtk_list_store_set(widgets->WebPublicationList,&iter,6,hash,-1); } else { - gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1); + gtk_list_store_set(widgets->WebPublicationList,&iter,6,"******",-1); if (cur_size>5&&!yon_char_is_empty(parsed[5])){ gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1); } @@ -660,6 +661,7 @@ 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_gtk_widget_set_sensitive_from_toggle_button),dialog->PasswordHashEntry); } void on_web_publish_remove(GtkWidget *self,main_window *widgets){ diff --git a/ubl-settings-update-web-publication-add.glade b/ubl-settings-update-web-publication-add.glade index 6f0966e..4a4888c 100644 --- a/ubl-settings-update-web-publication-add.glade +++ b/ubl-settings-update-web-publication-add.glade @@ -459,7 +459,7 @@ True False 32 - com.ublinux.ubl-settings-repomanager + com.ublinux.ubl-settings-update