Fix for completion page close icon; Fix for progress bars padding

pull/10/head
parent 6ac4184dbe
commit 14a36fa06d

@ -459,7 +459,7 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){
gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_LABEL);
gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL); gtk_button_set_label(GTK_BUTTON(widgets->CancelInstallButton),EXIT_LABEL);
gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))),"com.ublinux.libublsettingsui-gtk3.sync-symbolic",GTK_ICON_SIZE_BUTTON); gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->NextButton))),"com.ublinux.libublsettingsui-gtk3.sync-symbolic",GTK_ICON_SIZE_BUTTON);
gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->CancelInstallButton))),"com.ublinux.libublsettingsui-gtk3.reset-symbolic",GTK_ICON_SIZE_BUTTON); // gtk_image_set_from_icon_name(GTK_IMAGE(gtk_button_get_image(GTK_BUTTON(widgets->CancelInstallButton))),"com.ublinux.libublsettingsui-gtk3.reset-symbolic",GTK_ICON_SIZE_BUTTON);
// pthread_t tid; // pthread_t tid;
// pthread_create(&tid,NULL,on_config_save,widgets); // pthread_create(&tid,NULL,on_config_save,widgets);
@ -855,6 +855,9 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
} break; } break;
case -2: { // Cancel/repeat case -2: { // Cancel/repeat
switch (page){ switch (page){
case YON_PAGE_COMPLETION:{
gtk_main_quit();
}break;
default:{ default:{
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),0); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),0);
} }

@ -434,6 +434,7 @@ agreement</property>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-end">5</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<child> <child>

Loading…
Cancel
Save