githubのコードからのfolk
Revisión | 2b4b2e7df1b7b7dc027b65cda7b238cfdec6a0a6 (tree) |
---|---|
Tiempo | 2010-12-22 08:52:06 |
Autor | jstebbins <jstebbins@b64f...> |
Commiter | jstebbins |
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
@@ -1045,6 +1045,11 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) | ||
1045 | 1045 | |
1046 | 1046 | paused = queue_state & GHB_STATE_PAUSED; |
1047 | 1047 | |
1048 | + widget = GHB_WIDGET(ud->builder, "queue_add"); | |
1049 | + gtk_widget_set_sensitive(widget, show_start); | |
1050 | + action = GHB_ACTION(ud->builder, "queue_add_menu"); | |
1051 | + gtk_action_set_sensitive(action, show_start); | |
1052 | + | |
1048 | 1053 | widget = GHB_WIDGET (ud->builder, "queue_start1"); |
1049 | 1054 | if (show_stop) |
1050 | 1055 | { |