summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-18 03:17:47 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-18 03:17:47 +0000
commit2e7eeef44868d84f51e0d4b54d31e39d7cf26918 (patch)
treef186d78b5691449562cebb3a4e2dd24b2bb53204 /gtk2_ardour/port_matrix.h
parentfea3992f29d3a3d419529a99692b46dd9dafee58 (diff)
Better fix for non-rearrangement after open for the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@5377 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r--gtk2_ardour/port_matrix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h
index 76f6d09a6a..666a55da04 100644
--- a/gtk2_ardour/port_matrix.h
+++ b/gtk2_ardour/port_matrix.h
@@ -160,6 +160,8 @@ private:
void hide_group (boost::weak_ptr<PortGroup>);
void show_group (boost::weak_ptr<PortGroup>);
void toggle_show_only_bundles ();
+ void on_realize ();
+ void on_unrealize ();
/// port type that we are working with
ARDOUR::DataType _type;
@@ -175,7 +177,7 @@ private:
int _min_height_divisor;
bool _show_only_bundles;
bool _inhibit_toggle_show_only_bundles;
- bool _first_setup;
+ bool _realized;
};
#endif