Resolve Bundle Manager Input/Output label ambiguity
This commit is contained in:
parent
a55fe94b5e
commit
5eacf424b6
@ -203,13 +203,13 @@ BundleEditor::BundleEditor (Session* session, boost::shared_ptr<UserBundle> bund
|
||||
a = new Gtk::Alignment (0, 0.5, 0, 1);
|
||||
a->add (_input_or_output);
|
||||
t->attach (*Gtk::manage (a), 1, 2, 1, 2);
|
||||
_input_or_output.append_text (_("Input"));
|
||||
_input_or_output.append_text (_("Output"));
|
||||
_input_or_output.append_text (_("Playback"));
|
||||
_input_or_output.append_text (_("Capture"));
|
||||
|
||||
if (bundle->ports_are_inputs()) {
|
||||
_input_or_output.set_active_text (_("Input"));
|
||||
_input_or_output.set_active_text (_("Capture"));
|
||||
} else {
|
||||
_input_or_output.set_active_text (_("Output"));
|
||||
_input_or_output.set_active_text (_("Playback"));
|
||||
}
|
||||
|
||||
_input_or_output.signal_changed().connect (sigc::mem_fun (*this, &BundleEditor::input_or_output_changed));
|
||||
@ -243,7 +243,7 @@ BundleEditor::input_or_output_changed ()
|
||||
{
|
||||
_bundle->remove_ports_from_channels ();
|
||||
|
||||
if (_input_or_output.get_active_text() == _("Output")) {
|
||||
if (_input_or_output.get_active_text() == _("Capture")) {
|
||||
_bundle->set_ports_are_outputs ();
|
||||
} else {
|
||||
_bundle->set_ports_are_inputs ();
|
||||
|
Loading…
Reference in New Issue
Block a user