Fixed unsensitiveness of buttons at completion page

pull/10/head
parent 14a36fa06d
commit d864c82fa9

@ -819,9 +819,11 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
yon_debug_output("Install state: %s\n",yon_char_from_int(main_config.install_complete));
if (main_config.install_complete)
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
gtk_widget_set_sensitive(widgets->CancelInstallButton,0);
gtk_widget_set_sensitive(widgets->NextButton,0);
gtk_widget_set_sensitive(widgets->BackButton,0);
else {
gtk_widget_set_sensitive(widgets->CancelInstallButton,0);
gtk_widget_set_sensitive(widgets->NextButton,0);
gtk_widget_set_sensitive(widgets->BackButton,0);
}
}break;
case YON_PAGE_INSTALLATION_BEGIN:{
pthread_t tid;

Loading…
Cancel
Save