use new action map API instead of ActionManager::get_action
[ardour.git] / gtk2_ardour / send_ui.cc
index af23518c3a3950a4923f8ff0e5456b3bc8f19bc5..364e44c7b0113b43495830a4a6150a1bff84bd2e 100644 (file)
@@ -29,7 +29,7 @@
 #include "timers.h"
 #include "gui_thread.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -43,7 +43,7 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
        assert (_send);
 
        _panners.set_panner (s->panner_shell(), s->panner());
-       _gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp());
+       _gpm.set_controls (boost::shared_ptr<Route>(), s->meter(), s->amp(), s->gain_control());
 
        _hbox.pack_start (_gpm, true, true);
        set_name (X_("SendUIFrame"));