diff options
author | John Stebbins <[email protected]> | 2019-07-31 13:55:47 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-07-31 13:55:47 -0700 |
commit | ea718684d3b054bfe2b28aae977e6bb057c12938 (patch) | |
tree | f97fb0c76ce4685065274ccf4f3bb8e60f66e1eb /gtk | |
parent | 7f3aa8a27b04b537d1679948e1cfa55249dadc83 (diff) |
LinGui: only show progress bar on active queue entry
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/callbacks.c | 1 | ||||
-rw-r--r-- | gtk/src/queuehandler.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index 2f82ba094..366e77460 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -4230,6 +4230,7 @@ ghb_backend_events(signal_user_data_t *ud) ghb_queue_update_status_icon(ud, index); ghb_queue_update_live_stats(ud, index, &status.queue); gtk_progress_bar_set_fraction(progress, 1.0); + ghb_queue_progress_set_visible(ud, index, FALSE); ghb_queue_progress_set_fraction(ud, index, 1.0); ghb_clear_queue_state(GHB_STATE_WORKDONE); diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 8f2e097df..69f0b43b3 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -1369,7 +1369,7 @@ ghb_queue_update_status(signal_user_data_t *ud, int index, int status) if (status == GHB_QUEUE_PENDING) { - ghb_queue_progress_set_visible(ud, index, 0); + ghb_queue_progress_set_visible(ud, index, FALSE); } ghb_dict_set_int(uiDict, "job_status", status); ghb_queue_update_status_icon(ud, index); |