From b634cbba4cdfa5bc18137a5dba9b616cb0d89cd3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 21 Oct 2022 01:33:04 +0200 Subject: [PATCH] Shrink connection matrix tabs Program-name is not required to indicate "Tracks", "Busses", etc Those are always by provided by PROGRAM_NAME. "Other" really indicates external JACK (or Pipewire) applications. Here "External" is a better label. "Misc" can potentially be interpreted ambiguously, hence keeping PROGRAM_NAME is useful. --- gtk2_ardour/port_group.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk2_ardour/port_group.cc b/gtk2_ardour/port_group.cc index 205870b97f..900b385585 100644 --- a/gtk2_ardour/port_group.cc +++ b/gtk2_ardour/port_group.cc @@ -347,14 +347,14 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp return; } - boost::shared_ptr bus (new PortGroup (string_compose (_("%1 Busses"), PROGRAM_NAME))); - boost::shared_ptr track (new PortGroup (string_compose (_("%1 Tracks"), PROGRAM_NAME))); - boost::shared_ptr sidechain (new PortGroup (string_compose (_("%1 Sidechains"), PROGRAM_NAME))); - boost::shared_ptr iop_pre (new PortGroup (string_compose (_("%1 I/O Pre"), PROGRAM_NAME))); - boost::shared_ptr iop_post (new PortGroup (string_compose (_("%1 I/O Post"), PROGRAM_NAME))); + boost::shared_ptr bus (new PortGroup (_("Busses"))); + boost::shared_ptr track (new PortGroup (("Tracks"))); + boost::shared_ptr sidechain (new PortGroup (_("Sidechains"))); + boost::shared_ptr iop_pre (new PortGroup (_("I/O Pre") )); + boost::shared_ptr iop_post (new PortGroup (_("I/O Post") )); boost::shared_ptr system (new PortGroup (_("Hardware"))); boost::shared_ptr program (new PortGroup (string_compose (_("%1 Misc"), PROGRAM_NAME))); - boost::shared_ptr other (new PortGroup (_("Other"))); + boost::shared_ptr other (new PortGroup (_("External"))); /* Find the IOs which have bundles for routes and their processors. We store these IOs in a RouteIOs class so that we can then sort the results by route @@ -735,13 +735,13 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp system->remove_duplicates (); } - add_group_if_not_empty (other); add_group_if_not_empty (bus); add_group_if_not_empty (track); add_group_if_not_empty (sidechain); add_group_if_not_empty (iop_pre); add_group_if_not_empty (iop_post); add_group_if_not_empty (program); + add_group_if_not_empty (other); add_group_if_not_empty (system); emit_changed ();