From 79c9696ae4c1cbb17587f24804c970cc24b129c0 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 21 Dec 2010 23:52:06 +0000 Subject: [PATCH] LinGui: disable the 'Add to Queue' button while scanning. It's not a good idea try to access title info while the scan is in progress. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3713 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/queuehandler.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index a9c230098..4a1751004 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -1045,6 +1045,11 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) paused = queue_state & GHB_STATE_PAUSED; + widget = GHB_WIDGET(ud->builder, "queue_add"); + gtk_widget_set_sensitive(widget, show_start); + action = GHB_ACTION(ud->builder, "queue_add_menu"); + gtk_action_set_sensitive(action, show_start); + widget = GHB_WIDGET (ud->builder, "queue_start1"); if (show_stop) { -- 2.40.0