From b9bd2686eece43ffc4486823c703dcc20f957762 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 3 Oct 2024 15:53:41 +0600 Subject: [PATCH] Removed some debug messages. Progress bard are hidden at installation completion --- source/ubinstall-gtk.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 3df60cb..2c4331c 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -1113,7 +1113,6 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){ } break; case YON_PAGE_COMPLETION:{ - yon_debug_output("%s\n","Enter completion"); yon_switch_page_render(widgets,7); gtk_widget_set_sensitive(widgets->BackButton,0); gtk_widget_hide(gtk_widget_get_parent(widgets->PackageInstallationProgress)); @@ -1121,19 +1120,18 @@ void on_page_changed(GtkWidget *,GtkWidget *,int page, main_window *widgets){ gtk_widget_hide(widgets->PackageInstallationLabel); gtk_widget_set_sensitive(widgets->NextButton,1); gtk_widget_set_sensitive(widgets->CancelInstallButton,1); - yon_debug_output("%s\n","Done widgets"); g_mutex_lock(&main_config.install_mutex); main_config.install_complete=0; g_mutex_unlock(&main_config.install_mutex); main_config.save_done=0; - yon_debug_output("%s\n","Done variables"); textdomain(LocaleName); gtk_button_set_label(GTK_BUTTON(widgets->NextButton),RESTART_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.ubinstall-gtk.sync-symbolic",GTK_ICON_SIZE_BUTTON); - yon_debug_output("%s\n","Done labels and button icon"); } + gtk_widget_hide(gtk_widget_get_parent(widgets->InstallationProgress)); + gtk_widget_hide(gtk_widget_get_parent(widgets->PackageInstallationProgress)); break; case YON_PAGE_COMPLETED:{