|
|
|
|
@ -771,6 +771,17 @@ void on_package_remove_accept(GtkWidget *, dictionary *dict){
|
|
|
|
|
char *package;
|
|
|
|
|
gtk_tree_model_get(GTK_TREE_MODEL(window->liststore1),&iter,0,&status,1,&package,-1);
|
|
|
|
|
if (status){
|
|
|
|
|
|
|
|
|
|
if (strstr(package,"\n")){
|
|
|
|
|
int parsed_size;
|
|
|
|
|
config_str parsed = yon_char_parse(package,&parsed_size,"\n");
|
|
|
|
|
package = "";
|
|
|
|
|
for (int i=0;i<parsed_size;i++){
|
|
|
|
|
char *temp = yon_char_unite(package," ",parsed[i],NULL);
|
|
|
|
|
if (!yon_char_is_empty(package)) free(package);
|
|
|
|
|
package = temp;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
char *temp = yon_char_unite(modules_to_install," ", package, NULL);
|
|
|
|
|
if (strcmp(modules_to_install,module_formated)) free(modules_to_install);
|
|
|
|
|
modules_to_install = temp;
|
|
|
|
|
|