diff options
author | jstebbins <[email protected]> | 2011-04-05 20:46:35 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-04-05 20:46:35 +0000 |
commit | 6c75ac124c15e395e3e8b004a188d262d8d3b692 (patch) | |
tree | 504cb94a43220b8d144a0c8b98a87c604fc55ffa /gtk/src/main.c | |
parent | d54c2303fdf029738bfc198b011a8dff725635cf (diff) |
LinGui: add audio gain adjustment and create advanced audio dialog.
Gain, DRC, and Sample Rate are now in an advanced audio dialog.
This makes the audio tab less crowded and makes room for future
improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3903 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 176f0f489..7b5f3b6c6 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -333,9 +333,9 @@ bind_audio_tree_model (signal_user_data_t *ud) selection = gtk_tree_view_get_selection (treeview); // 12 columns in model. 6 are visible, the other 6 are for storing // values that I need - treestore = gtk_list_store_new(6, G_TYPE_STRING, G_TYPE_STRING, + treestore = gtk_list_store_new(7, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, - G_TYPE_STRING, G_TYPE_STRING); + G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); gtk_tree_view_set_model(treeview, GTK_TREE_MODEL(treestore)); cell = gtk_cell_renderer_text_new(); @@ -371,7 +371,12 @@ bind_audio_tree_model (signal_user_data_t *ud) cell = gtk_cell_renderer_text_new(); column = gtk_tree_view_column_new_with_attributes( - _("DRC"), cell, "text", 5, NULL); + _("Gain"), cell, "text", 5, NULL); + gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column)); + + cell = gtk_cell_renderer_text_new(); + column = gtk_tree_view_column_new_with_attributes( + _("DRC"), cell, "text", 6, NULL); gtk_tree_view_append_column(treeview, GTK_TREE_VIEW_COLUMN(column)); g_signal_connect(selection, "changed", audio_list_selection_changed_cb, ud); |