summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-10 10:53:01 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-10 10:53:01 -0500
commita0abf608d6ce9bd88c71f8cad68eb7c39fcff5a5 (patch)
tree32725ccc8cb77811bfea7d873d269388c49a3d52 /gtk2_ardour/rc_option_editor.cc
parentf4b5f4c72ee60b6f509e307c5bfd164108d1f30b (diff)
replace a few creeping instances of the string "Ardour" with PROGRAM_NAME
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index ccb0e5fcdd..4048cc407b 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -21,9 +21,12 @@
#include "gtk2ardour-config.h"
#endif
+#include <boost/algorithm/string.hpp>
+
#include <gtkmm/liststore.h>
#include <gtkmm/stock.h>
#include <gtkmm/scale.h>
+
#include <gtkmm2ext/utils.h>
#include <gtkmm2ext/slider_controller.h>
#include <gtkmm2ext/gtk_ui.h>
@@ -1519,7 +1522,9 @@ RCOptionEditor::RCOptionEditor ()
mm->add (HardwareMonitoring, _("via Audio Driver"));
}
- mm->add (SoftwareMonitoring, _("ardour"));
+ string prog (PROGRAM_NAME);
+ boost::algorithm::to_lower (prog);
+ mm->add (SoftwareMonitoring, string_compose (_("%1"), prog));
mm->add (ExternalMonitoring, _("audio hardware"));
add_option (_("Audio"), mm);