From: jstebbins Date: Tue, 21 Dec 2010 23:52:06 +0000 (+0000) Subject: LinGui: disable the 'Add to Queue' button while scanning. X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=2b4b2e7df1b7b7dc027b65cda7b238cfdec6a0a6;p=handbrake-jp%2Fhandbrake-jp-git.git 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://localhost/HandBrake/trunk@3713 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index a9c23009..4a175100 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) {