diff options
author | jstebbins <[email protected]> | 2009-06-08 14:42:09 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-08 14:42:09 +0000 |
commit | 8c2ee7ae989974d9cd64d853e3c82acb55d4a4ab (patch) | |
tree | a188367d9f135e1f445d73e995b01336b33179d9 | |
parent | 5269bc81a55b80ee1d4fbbaa85803270115f7a40 (diff) |
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
-rw-r--r-- | gtk/src/audiohandler.c | 2 | ||||
-rw-r--r-- | 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 @@ </packing> </child> <child> - <object class="GtkTreeView" id="audio_list"> + <object class="GtkScrolledWindow" id="scrolledwindow5"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="headers_clickable">True</property> + <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <child> + <object class="GtkTreeView" id="audio_list"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="headers_clickable">True</property> + </object> + </child> </object> <packing> <property name="position">2</property> |