diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-05 22:06:16 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-05 22:06:16 +0000 |
commit | f8b570db5ea8c29969b44f5180ec5fea0795b3a5 (patch) | |
tree | dbfd7861b6bf5ab6b31b54f4068d834624dcfba5 /gtk2_ardour/route_ui.cc | |
parent | ded5147dee1e7e3340c2bd300f667a2a26134a29 (diff) |
Show the number of channels in brackets when there is a single invert button for multiple channels, as suggested by colinf (#4699).
git-svn-id: svn://localhost/ardour2/branches/3.0@11598 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 99f0b86c8a..17e08f20ef 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -1766,7 +1766,11 @@ RouteUI::setup_invert_buttons () b->set_name (X_("mixer strip button")); if (to_add == 1) { - b->set_text (X_("Ø")); + if (N > 1) { + b->set_text (string_compose (X_("Ø (%1)"), N)); + } else { + b->set_text (X_("Ø")); + } } else { b->set_text (string_compose (X_("Ø%1"), i + 1)); } |