do not show panner GUI in external send UI, to avoid confusion (#4531)
[ardour.git] / gtk2_ardour / send_ui.cc
index 7cf8228ffe551a8bbc4ab0ee9bbf621c45d6b577..627fe531f68e0dbcf6fb21d2ca1ea0e41e3b2590 100644 (file)
@@ -53,7 +53,10 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
        _vbox.set_border_width (5);
 
        _vbox.pack_start (_hbox, false, false, false);
-       _vbox.pack_start (_panners, false, false);
+       // until sends have their own Pannable, don't show this
+       // because it controls the Route Pannable which confuses
+       // users (among others)
+       // _vbox.pack_start (_panners, false, false);
 
        io = manage (new IOSelector (parent, session, s->output()));
 
@@ -117,14 +120,13 @@ SendUI::fast_update ()
 }
 
 SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session)
-       : ArdourDialog (string (_("Send ")) + s->name())
+       : ArdourWindow (string (_("Send ")) + s->name())
 {
        ui = new SendUI (this, s, session);
 
        hpacker.pack_start (*ui, true, true);
 
-       get_vbox()->set_border_width (5);
-       get_vbox()->pack_start (hpacker);
+       add (hpacker);
 
        set_name ("SendUIWindow");