summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2008-01-09 21:32:42 +0000
committerDoug McLain <doug@nostar.net>2008-01-09 21:32:42 +0000
commit03e7a268bd67ab9839e92dc41006cd9917f29e27 (patch)
treebebf4cf7828cc61b6df18d6822c803c7a8c2c023 /gtk2_ardour/mixer_ui.cc
parent2c3f54250df53d474e67b507d282e0783ce8eef4 (diff)
Add option to use narrow mixer strips by default, and fix ardour_system.rc being overlooked by dev scripts
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2857 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index c79bd48dad..0181561393 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -64,7 +64,7 @@ Mixer_UI::Mixer_UI ()
: Window (Gtk::WINDOW_TOPLEVEL)
{
session = 0;
- _strip_width = Wide;
+ Config->get_default_narrow_ms() ? _strip_width = Narrow : _strip_width = Wide;
track_menu = 0;
mix_group_context_menu = 0;
no_track_list_redisplay = false;
@@ -286,6 +286,8 @@ Mixer_UI::add_strip (Session::RouteList& routes)
strip = new MixerStrip (*this, *session, route);
strips.push_back (strip);
+ Config->get_default_narrow_ms() ? _strip_width = Narrow : _strip_width = Wide;
+
if (strip->width_owner() != strip) {
strip->set_width (_strip_width, this);
}