|
|
|
|
@ -420,7 +420,6 @@ void on_page_prev_clicked(GtkWidget *, main_window *widgets){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void on_page_cancel_clicked(GtkWidget *, main_window *widgets){
|
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_WELCOME);
|
|
|
|
|
gtk_widget_hide(widgets->BackButton);
|
|
|
|
|
gtk_widget_hide(widgets->SourceButton);
|
|
|
|
|
gtk_widget_hide(widgets->SkipInstallationButton);
|
|
|
|
|
@ -438,6 +437,7 @@ void on_page_cancel_clicked(GtkWidget *, main_window *widgets){
|
|
|
|
|
data->title=WARNING_TITLE_LABEL;
|
|
|
|
|
if (yon_confirmation_dialog_call(widgets->MainWindow,data)==GTK_RESPONSE_ACCEPT ){
|
|
|
|
|
if (main_config.install_thread){
|
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_WELCOME);
|
|
|
|
|
gtk_widget_hide(gtk_widget_get_parent(widgets->InstallationProgress));
|
|
|
|
|
gtk_widget_hide(gtk_widget_get_parent(widgets->PackageInstallationProgress));
|
|
|
|
|
pthread_cancel((pthread_t)main_config.install_thread);
|
|
|
|
|
|