summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-12-21 23:52:06 +0000
committerjstebbins <[email protected]>2010-12-21 23:52:06 +0000
commit79c9696ae4c1cbb17587f24804c970cc24b129c0 (patch)
tree9e5feda237bb96a2c0001b4b5c39fe4c5548469e /gtk/src
parentf75b92c3ec181f6f3edd6a1b3dc56cdadb041e3c (diff)
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
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/queuehandler.c5
1 files changed, 5 insertions, 0 deletions
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)
{