summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2005-12-17 13:39:27 +0000
committerDoug McLain <doug@nostar.net>2005-12-17 13:39:27 +0000
commitd2b8a7f6bdcb66960c387449cfb2877bd896ceeb (patch)
treec3d4efe706ffcbfcd8dfdfbe59644989c09aa5ee /gtk2_ardour/time_axis_view.cc
parent170d6b24cec9b7fe51d74b75544a097948e03082 (diff)
A possible method for correctly sizing the editor controls, and a couple buttons fixed
git-svn-id: svn://localhost/trunk/ardour2@195 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r--gtk2_ardour/time_axis_view.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc
index b9ff987d53..8f9ba4c7f4 100644
--- a/gtk2_ardour/time_axis_view.cc
+++ b/gtk2_ardour/time_axis_view.cc
@@ -185,7 +185,7 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
{
gdouble ix1, ix2, iy1, iy2;
effective_height = 0;
-
+
if (control_parent) {
control_parent->reorder_child (controls_frame, nth);
} else {
@@ -193,10 +193,9 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
parent->pack_start (controls_frame, false, false);
parent->reorder_child (controls_frame, nth);
}
-
controls_frame.show ();
controls_ebox.show ();
-
+
/* the coordinates used here are in the system of the
item's parent ...
*/