|
|
|
@ -1,12 +1,14 @@
|
|
|
|
#include "ubinstall-gtk.h"
|
|
|
|
#include "ubinstall-gtk.h"
|
|
|
|
|
|
|
|
|
|
|
|
int yon_installation_start(main_window *widgets){
|
|
|
|
int yon_installation_start(main_window *widgets){
|
|
|
|
|
|
|
|
gtk_widget_show(gtk_widget_get_parent(widgets->InstallationProgress));
|
|
|
|
return !pthread_create(&main_config.install_thread,NULL,on_config_save,widgets);
|
|
|
|
return !pthread_create(&main_config.install_thread,NULL,on_config_save,widgets);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_quick_install(GtkWidget *self, main_window *widgets){
|
|
|
|
void yon_quick_install(GtkWidget *self, main_window *widgets){
|
|
|
|
main_config.save_configured=1;
|
|
|
|
main_config.save_configured=1;
|
|
|
|
gtk_widget_hide(self);
|
|
|
|
gtk_widget_hide(self);
|
|
|
|
|
|
|
|
gtk_widget_show(gtk_widget_get_parent(widgets->InstallationProgress));
|
|
|
|
pthread_create(&main_config.install_thread,NULL,on_config_save,widgets);
|
|
|
|
pthread_create(&main_config.install_thread,NULL,on_config_save,widgets);
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
|
|
|
|
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
|
|
|
|
yon_page_init(widgets,YON_PAGE_INSTALLATION);
|
|
|
|
yon_page_init(widgets,YON_PAGE_INSTALLATION);
|
|
|
|
|