From 8c2ee7ae989974d9cd64d853e3c82acb55d4a4ab Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 8 Jun 2009 14:42:09 +0000 Subject: LinGui: allow up to 99 audio tracks since libhb now supports that many git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2501 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/audiohandler.c | 2 +- gtk/src/ghb.ui | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index e2fa7f597..c018445ae 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -587,7 +587,7 @@ audio_add_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud) ghb_array_append(audio_list, asettings); add_to_audio_list(ud, asettings); count = ghb_array_len(audio_list); - if (count >= 8) + if (count >= 99) { gtk_widget_set_sensitive(xwidget, FALSE); } diff --git a/gtk/src/ghb.ui b/gtk/src/ghb.ui index 2c9662bf6..95d95caca 100644 --- a/gtk/src/ghb.ui +++ b/gtk/src/ghb.ui @@ -2091,11 +2091,20 @@ - + True True GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + + + True + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + True + + 2 -- cgit v1.2.3