13
0

Recover send faders in the processor box lost in my previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@8637 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-01 02:14:11 +00:00
parent 4233a54ac3
commit deee47bcae

View File

@ -308,6 +308,8 @@ SendProcessorEntry::SendProcessorEntry (boost::shared_ptr<Send> s, Width w)
_fader.set_controllable (_send->amp()->gain_control ()); _fader.set_controllable (_send->amp()->gain_control ());
_vbox.pack_start (_fader); _vbox.pack_start (_fader);
_fader.show ();
_adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &SendProcessorEntry::gain_adjusted)); _adjustment.signal_value_changed().connect (sigc::mem_fun (*this, &SendProcessorEntry::gain_adjusted));
_send->amp()->gain_control()->Changed.connect (send_gain_connection, invalidator (*this), boost::bind (&SendProcessorEntry::show_gain, this), gui_context()); _send->amp()->gain_control()->Changed.connect (send_gain_connection, invalidator (*this), boost::bind (&SendProcessorEntry::show_gain, this), gui_context());
show_gain (); show_gain ();
@ -869,9 +871,6 @@ ProcessorBox::build_processor_menu ()
{ {
processor_menu = dynamic_cast<Gtk::Menu*>(ActionManager::get_widget("/processormenu") ); processor_menu = dynamic_cast<Gtk::Menu*>(ActionManager::get_widget("/processormenu") );
processor_menu->set_name ("ArdourContextMenu"); processor_menu->set_name ("ArdourContextMenu");
show_all_children();
return processor_menu; return processor_menu;
} }