Skip to content

Commit 7341e02

Browse files
Use VCA consistently in the GUI, rather than Control Master.
(manually cherry-pick Mixbus e62fc72 into ardour/master)
1 parent 006a4c0 commit 7341e02

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

gtk2_ardour/group_tabs.cc

+19-4
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,11 @@ GroupTabs::get_menu (RouteGroup* g, bool in_tab_area)
362362
for (VCAList::const_iterator v = vcas.begin(); v != vcas.end(); ++v) {
363363
f.push_back (MenuElem ((*v)->name().empty() ? string_compose ("VCA %1", (*v)->number()) : (*v)->name(), sigc::bind (sigc::mem_fun (*this, &GroupTabs::assign_group_to_master), (*v)->number(), g, true)));
364364
}
365+
#ifdef MIXBUS
366+
items.push_back (MenuElem (_("Assign Group to VCA..."), *vca_menu));
367+
#else
365368
items.push_back (MenuElem (_("Assign Group to Control Master..."), *vca_menu));
366-
369+
#endif
367370

368371
items.push_back (SeparatorElem());
369372

@@ -398,7 +401,11 @@ GroupTabs::get_menu (RouteGroup* g, bool in_tab_area)
398401
}
399402
}
400403

401-
items.push_back (MenuElem (_("Assign Selection to Control Master..."), *vca_menu));
404+
#ifdef MIXBUS
405+
items.push_back (MenuElem (_("Assign Selection to VCA..."), *vca_menu));
406+
#else
407+
items.push_back (MenuElem (_("Assign Selection to VCA..."), *vca_menu));
408+
#endif
402409

403410
vca_menu = new Menu;
404411
{
@@ -409,7 +416,11 @@ GroupTabs::get_menu (RouteGroup* g, bool in_tab_area)
409416
}
410417

411418
}
412-
items.push_back (MenuElem (_("Assign Record Enabled to Control Master..."), *vca_menu));
419+
#ifdef MIXBUS
420+
items.push_back (MenuElem (_("Assign Record Enabled to VCA..."), *vca_menu));
421+
#else
422+
items.push_back (MenuElem (_("Assign Record Enabled to VCA..."), *vca_menu));
423+
#endif
413424

414425
vca_menu = new Menu;
415426
{
@@ -420,7 +431,11 @@ GroupTabs::get_menu (RouteGroup* g, bool in_tab_area)
420431
}
421432

422433
}
423-
items.push_back (MenuElem (_("Assign Soloed to Control Master..."), *vca_menu));
434+
#ifdef MIXBUS
435+
items.push_back (MenuElem (_("Assign Soloed to VCA..."), *vca_menu));
436+
#else
437+
items.push_back (MenuElem (_("Assign Soloed to VCA..."), *vca_menu));
438+
#endif
424439

425440
items.push_back (SeparatorElem());
426441
items.push_back (MenuElem (_("Enable All Groups"), sigc::mem_fun(*this, &GroupTabs::activate_all)));

0 commit comments

Comments
 (0)