From f8b570db5ea8c29969b44f5180ec5fea0795b3a5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 5 Mar 2012 22:06:16 +0000 Subject: [PATCH] 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 --- gtk2_ardour/route_ui.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)); }