mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
nick m's fix for markers etc ; several tweaks for mute/solo ; rename run_in_place() as run()
git-svn-id: svn://localhost/ardour2/branches/3.0@5155 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ff26317d4f
commit
6e9b9294e1
27 changed files with 106 additions and 140 deletions
|
|
@ -1127,7 +1127,7 @@ RouteUI::toggle_polarity ()
|
|||
ENSURE_GUI_THREAD(mem_fun (*this, &RouteUI::toggle_polarity));
|
||||
|
||||
if ((x = polarity_menu_item->get_active()) != _route->phase_invert()) {
|
||||
_route->set_phase_invert (x, this);
|
||||
_route->set_phase_invert (x);
|
||||
if (x) {
|
||||
name_label.set_text (X_("Ø ") + name_label.get_text());
|
||||
} else {
|
||||
|
|
@ -1140,7 +1140,11 @@ RouteUI::toggle_polarity ()
|
|||
void
|
||||
RouteUI::polarity_changed ()
|
||||
{
|
||||
/* no signal for this yet */
|
||||
if (_route->phase_invert()) {
|
||||
name_label.set_text (X_("Ø ") + name_label.get_text());
|
||||
} else {
|
||||
name_label.set_text (_route->name());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -1153,7 +1157,7 @@ RouteUI::toggle_denormal_protection ()
|
|||
ENSURE_GUI_THREAD(mem_fun (*this, &RouteUI::toggle_denormal_protection));
|
||||
|
||||
if ((x = denormal_menu_item->get_active()) != _route->denormal_protection()) {
|
||||
_route->set_denormal_protection (x, this);
|
||||
_route->set_denormal_protection (x);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1161,7 +1165,9 @@ RouteUI::toggle_denormal_protection ()
|
|||
void
|
||||
RouteUI::denormal_protection_changed ()
|
||||
{
|
||||
/* no signal for this yet */
|
||||
if (denormal_menu_item) {
|
||||
denormal_menu_item->set_active (_route->denormal_protection());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue