Fix warning from ./waf i18n about empty string

./waf i18n warns about passing an empty string to _(). Actually, the code
in question just wants to make a label not appear, so it might as well
just hide or show it as appropriate rather than attempting to set its
text to the empty string.
This commit is contained in:
Colin Fletcher 2014-07-10 19:46:15 +01:00
parent b376042166
commit 1d790355ca
1 changed files with 2 additions and 2 deletions

View File

@ -555,10 +555,10 @@ EngineControl::enable_latency_tab ()
lm_back_button_signal.disconnect();
if (_measure_midi) {
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), midi_tab));
lm_preamble.set_markup (_(""));
lm_preamble.hide ();
} else {
lm_back_button_signal = lm_back_button.signal_clicked().connect (sigc::bind (sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page), 0));
lm_preamble.set_markup (_("<span weight=\"bold\">Turn down the volume on your audio equipment to a very low level.</span>"));
lm_preamble.show ();
}
set_popdown_strings (lm_output_channel_combo, outputs);