LinGui: fix initial enabled state of audio options after scan
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 27 Jun 2011 08:54:22 +0000 (08:54 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 27 Jun 2011 08:54:22 +0000 (08:54 +0000)
audios that are disabled were not getting grayed out in the audio options
list till the track or encoder selection changed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4079 b64f7644-9d1e-0410-96f1-a4d463321fa5

gtk/src/callbacks.c

index cd6a7626769c80332eb97884fd0de9ff7cda84ce..bcf5c26fc60bf756918763f729720ded0ed4ed98 100644 (file)
@@ -1498,6 +1498,7 @@ title_changed_cb(GtkWidget *widget, signal_user_data_t *ud)
        update_chapter_list (ud);
        ghb_adjust_audio_rate_combos(ud);
        ghb_set_pref_audio(titleindex, ud);
+       ghb_grey_combo_options (ud->builder);
        ghb_set_pref_subtitle(titleindex, ud);
 
        // Unfortunately, there is no way to query how many frames were