Fixed repositories visibility on Publication tab

pull/59/head
parent 434bce48c1
commit 228169573c

@ -290,7 +290,12 @@ void yon_interface_update(main_window *widgets){
yon_char_parsed_free(parsed,cur_size); yon_char_parsed_free(parsed,cur_size);
} }
} else { } else {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PublicationCheck),1); for (int i=0;i<repos_size;i++){
yon_char_remove_last_symbol(publish_repos[i],'\n');
gtk_list_store_append(widgets->PublicationList,&iter);
gtk_list_store_set(widgets->PublicationList,&iter,1,publish_repos[i],0,1,-1);
}
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PublicationCheck),0);
} }
} }
{ {

Loading…
Cancel
Save