|
|
|
@ -1518,7 +1518,13 @@ void on_boot_toggled(GtkWidget *, char *path, main_window *widgets){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void on_terminal_cancel(GtkWidget *,main_window *widgets){
|
|
|
|
void on_terminal_cancel(GtkWidget *,main_window *widgets){
|
|
|
|
vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal), "\x03", 1);
|
|
|
|
const char cancel_signal = 3;
|
|
|
|
|
|
|
|
char *command = yon_char_new(" ");
|
|
|
|
|
|
|
|
command[0]=cancel_signal;
|
|
|
|
|
|
|
|
char *tmp = yon_char_unite(command,"exit 0\n",NULL);
|
|
|
|
|
|
|
|
free(command);
|
|
|
|
|
|
|
|
vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal),tmp,strlen(tmp));
|
|
|
|
|
|
|
|
free(tmp);
|
|
|
|
yon_launch(pacman_unlock_database_command);
|
|
|
|
yon_launch(pacman_unlock_database_command);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|