diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-31 00:59:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-31 00:59:09 +0000 |
commit | f7a943403485c63032362c8f29cdc4abb43e18b4 (patch) | |
tree | adfe8f3413ba49ea532ae43d25cb249af648835a /gtk2_ardour/mixer_strip.cc | |
parent | e3dd8cc3ee481924997a1650e3a130b2579be209 (diff) |
functioning invert (polarity) button; menu item removed and track name button no longer relablled when inverted
git-svn-id: svn://localhost/ardour2/branches/3.0@6813 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index abfa792f4b..a0cc11092e 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -83,8 +83,8 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session* sess, bool in_mixer) , gpm (sess, 250) , panners (sess) , _mono_button (_("Mono")) - , button_table (3, 2) - , middle_button_table (2, 2) + , button_table (4, 2) + , middle_button_table (1, 2) , bottom_button_table (1, 2) , meter_point_label (_("pre")) , comment_button (_("Comments")) @@ -190,12 +190,12 @@ MixerStrip::init () button_table.attach (name_button, 0, 2, 0, 1); button_table.attach (input_button, 0, 2, 1, 2); + button_table.attach (*invert_button, 0, 2, 3, 4); middle_button_table.set_homogeneous (true); middle_button_table.set_spacings (0); middle_button_table.attach (*mute_button, 0, 1, 0, 1); middle_button_table.attach (*solo_button, 1, 2, 0, 1); - middle_button_table.attach (*invert_button, 0, 2, 1, 2); bottom_button_table.set_col_spacings (0); bottom_button_table.set_homogeneous (true); @@ -1390,9 +1390,6 @@ MixerStrip::build_route_ops_menu () items.push_back (MenuElem (_("Adjust latency"), sigc::mem_fun (*this, &RouteUI::adjust_latency))); items.push_back (SeparatorElem()); - items.push_back (CheckMenuElem (_("Invert Polarity"), sigc::mem_fun (*this, &RouteUI::toggle_polarity))); - polarity_menu_item = dynamic_cast<CheckMenuItem *> (&items.back()); - polarity_menu_item->set_active (_route->phase_invert()); items.push_back (CheckMenuElem (_("Protect against denormals"), sigc::mem_fun (*this, &RouteUI::toggle_denormal_protection))); denormal_menu_item = dynamic_cast<CheckMenuItem *> (&items.back()); denormal_menu_item->set_active (_route->denormal_protection()); |