From bdec95812add5c2c74e57eed2d7778ece112f22b Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 27 Jun 2019 07:41:39 -0700 Subject: LinGui: set file size stats to "Not Available" when stat fails More friendly response, and works for initial passes where the file hasn't been created yet. --- gtk/src/queuehandler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index bf723a1d3..bd9b2924a 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -715,7 +715,7 @@ queue_update_stats(GhbValue * queueDict, signal_user_data_t *ud) else { label = GTK_LABEL(GHB_WIDGET(ud->builder, "queue_stats_file_size")); - gtk_label_set_text(label, _("Error")); + gtk_label_set_text(label, _("Not Available")); } label = GTK_LABEL(GHB_WIDGET(ud->builder, "queue_stats_result")); @@ -1184,7 +1184,7 @@ ghb_queue_update_live_stats(signal_user_data_t * ud, int index, ghb_instance_sta else { label = GTK_LABEL(GHB_WIDGET(ud->builder, "queue_stats_file_size")); - gtk_label_set_text(label, _("Error")); + gtk_label_set_text(label, _("Not Available")); } label = GTK_LABEL(GHB_WIDGET(ud->builder, "queue_stats_result")); -- cgit v1.2.3