|
|
|
|
@ -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;
|
|
|
|
|
@ -1508,7 +1519,6 @@ void on_boot_toggled(GtkWidget *, char *path, main_window *widgets){
|
|
|
|
|
|
|
|
|
|
void on_terminal_cancel(GtkWidget *,main_window *widgets){
|
|
|
|
|
vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal), "\x03", 1);
|
|
|
|
|
vte_terminal_reset(VTE_TERMINAL(widgets->InstallTerminal),1,1);
|
|
|
|
|
yon_launch(pacman_unlock_database_command);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|