From bd6a0a4e8fe13e2e5863c8ed7f1a33f173816b40 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 15 Apr 2026 09:37:30 +0600 Subject: [PATCH] TEST Log read error processing headed to status --- source/ubinstall-gtk-log.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/ubinstall-gtk-log.c b/source/ubinstall-gtk-log.c index 636508c..15607c4 100644 --- a/source/ubinstall-gtk-log.c +++ b/source/ubinstall-gtk-log.c @@ -153,7 +153,6 @@ void yon_installation_progress_update(GFileMonitor *,GFile *,GFile *,GFileMonito double fraction = atof(parsed[3]) / 100; gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->PackageInstallationProgress), fraction); gtk_label_set_text(GTK_LABEL(widgets->PackageInstallationLabel), yon_char_parsed_to_string(parsed, size, " ")); - // yon_char_parsed_free(parsed,size); } if (!yon_char_is_empty(current_copy)) free(current_copy); } @@ -170,10 +169,10 @@ gboolean yon_progress_bar_start(main_window *widgets){ widgets->install_info_monitor = g_file_monitor_file(file_desc,G_FILE_MONITOR_NONE,NULL,&err); if (err){ printf("%s\n",err->message); + yon_ubl_status_box_spawn(widgets->StatusBox,err->message,5,BACKGROUND_IMAGE_FAIL_TYPE); return G_SOURCE_REMOVE; } g_signal_connect(G_OBJECT(widgets->install_info_monitor),"changed",G_CALLBACK(yon_installation_progress_update),widgets); - // g_thread_new("progress",(GThreadFunc)yon_progress_thread_test,widgets); g_object_unref(file_desc); if (access(progress_path,F_OK)){ FILE *file = fopen(progress_path,"w");