diff options
author | John Stebbins <[email protected]> | 2019-06-27 07:41:39 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-06-27 08:05:52 -0700 |
commit | bdec95812add5c2c74e57eed2d7778ece112f22b (patch) | |
tree | e81c2ba5db7febdf1cea6ba859ef0ab0eae93ea7 /gtk/src/queuehandler.c | |
parent | 24c5d9dc6e06d2c4695776f31923231ed1b1ea9d (diff) |
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.
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 4 |
1 files 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")); |