Package updates together with module

pull/48/head
parent 7ee9a9067e
commit ec3f30e141

@ -538,7 +538,9 @@ void on_module_install_accept(GtkWidget *, dictionary *dict){
free(dict->first->next->next); free(dict->first->next->next);
dict->first->next->next = NULL; dict->first->next->next = NULL;
char *module_formated = yon_package_string_set(tab->module); char *module_formated = yon_package_string_set(tab->module);
char *modules_to_install = module_formated; char *modules_to_install = NULL;
if (!tab->module_updated) modules_to_install = yon_char_unite(module_formated, " ", yon_package_string_set(tab->package), NULL);
else modules_to_install = module_formated;
GtkTreeIter iter; GtkTreeIter iter;
for_iter (GTK_TREE_MODEL(window->liststore1),&iter){ for_iter (GTK_TREE_MODEL(window->liststore1),&iter){

Loading…
Cancel
Save