OSC: GUI label change
authorLen Ovens <len@ovenwerks.net>
Fri, 12 May 2017 04:18:04 +0000 (21:18 -0700)
committerLen Ovens <len@ovenwerks.net>
Fri, 12 May 2017 14:29:29 +0000 (07:29 -0700)
libs/surfaces/osc/osc_gui.cc

index 6276f66d86b3284d05d0c2b38d0a00aa2008c95f..a898cf74bed44490e2c24000fedd5fe35cc54bb1 100644 (file)
@@ -117,8 +117,8 @@ OSC_GUI::OSC_GUI (OSC& p)
        table->attach (*label, 0, 1, n, n+1, AttachOptions(FILL|EXPAND), AttachOptions(0));
        table->attach (gainmode_combo, 1, 2, n, n+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 0);
        std::vector<std::string> gainmode_options;
-       gainmode_options.push_back (_("dB"));
-       gainmode_options.push_back (_("Position"));
+       gainmode_options.push_back (_("/strip/gain (dB)"));
+       gainmode_options.push_back (_("/strip/fader (Position)"));
 
        set_popdown_strings (gainmode_combo, gainmode_options);
        gainmode_combo.set_active ((int)cp.get_gainmode());
@@ -513,10 +513,10 @@ void
 OSC_GUI::gainmode_changed ()
 {
        std::string str = gainmode_combo.get_active_text ();
-       if (str == _("dB")) {
+       if (str == _("/strip/gain (dB)")) {
                cp.set_gainmode (0);
        }
-       else if (str == _("Position")) {
+       else if (str == _("/strip/fader (Position)")) {
                cp.set_gainmode (1);
        }
        else {