|
|
|
|
@ -1122,10 +1122,8 @@ void on_package_remove_clicked(GtkWidget *self,dictionary *dict){
|
|
|
|
|
void on_launch_cliked(GtkWidget *self,dictionary *dict){
|
|
|
|
|
main_window *widgets = yon_dictionary_get_data(dict->first,main_window*);
|
|
|
|
|
kernels_tab *tab = yon_dictionary_get_data(dict->first->next,kernels_tab*);
|
|
|
|
|
dialog_confirmation_data *data = malloc(sizeof(dialog_confirmation_data));
|
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
|
data->action_text = LAUNCH_CONFIRMATION_LABEL(tab->name);
|
|
|
|
|
data->function = NULL;
|
|
|
|
|
data->data = NULL;
|
|
|
|
|
if (yon_confirmation_dialog_call(self,data) == GTK_RESPONSE_ACCEPT){
|
|
|
|
|
yon_config_register(KERNEL_BOOT_parameter,KERNEL_BOOT_command,tab->package);
|
|
|
|
|
on_update_clicked(NULL,widgets);
|
|
|
|
|
|