summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2009-06-17 20:10:43 +0000
committerSampo Savolainen <v2@iki.fi>2009-06-17 20:10:43 +0000
commit45671f13e3b3137f876944d7b978707c16aef821 (patch)
treea26390e671e05b72130ab5c1f967d84330983ff2 /gtk2_ardour
parent566ce557368e84ce550f480cb5cf03aae1aa0cfa (diff)
Pack the summarizer in a vpaned instead of the edit_packer
git-svn-id: svn://localhost/ardour2/branches/3.0@5211 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 3498e6686b..9be36a0841 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -519,8 +519,6 @@ Editor::Editor ()
edit_packer.attach (controls_layout, 0, 2, 2, 3, FILL, FILL|EXPAND, 0, 0);
/* main canvas */
edit_packer.attach (track_canvas_event_box, 2, 3, 1, 3, FILL|EXPAND, FILL|EXPAND, 0, 0);
- /* summary widget at bottom */
- edit_packer.attach (*_summary, 0, 3, 3, 4, FILL|EXPAND, SHRINK, 0, 0);
bottom_hbox.set_border_width (2);
bottom_hbox.set_spacing (3);
@@ -747,7 +745,12 @@ Editor::Editor ()
post_maximal_editor_width = 0;
post_maximal_pane_position = 0;
- edit_pane.pack1 (edit_packer, true, true);
+
+ VPaned *editor_summary_pane = manage(new VPaned());
+ editor_summary_pane->pack1(edit_packer);
+ editor_summary_pane->pack2(*_summary);
+
+ edit_pane.pack1 (*editor_summary_pane, true, true);
edit_pane.pack2 (the_notebook, false, true);
edit_pane.signal_size_allocate().connect (bind (mem_fun(*this, &Editor::pane_allocation_handler), static_cast<Paned*> (&edit_pane)));