show_all() more selectively so that unwanted notebook tabs don't appear in SendUI...
authorCarl Hetherington <carl@carlh.net>
Tue, 11 Jan 2011 02:47:53 +0000 (02:47 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 11 Jan 2011 02:47:53 +0000 (02:47 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8504 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/processor_box.cc
gtk2_ardour/send_ui.cc

index c489bce5be764bc4ffc3a7494d0bc3a930243106..4ccf52cae1504fe63f72eca5dcfa87b6ba75b1eb 100644 (file)
@@ -858,7 +858,7 @@ ProcessorBox::choose_send ()
         */
 
        IOSelectorWindow *ios = new IOSelectorWindow (_session, send->output(), true);
-       ios->show_all ();
+       ios->show ();
 
        /* keep a reference to the send so it doesn't get deleted while
           the IOSelectorWindow is doing its stuff
@@ -1659,7 +1659,7 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
                }
 
                SendUIWindow* w = new SendUIWindow (send, _session);
-               w->show_all ();
+               w->show ();
 
        } else if ((retrn = boost::dynamic_pointer_cast<Return> (processor)) != 0) {
 
index 1c668bd2ada28480f7aab5d6d1842084f7c117b0..14068bbc5bb1c0d8e73797fe0e8d63d94b00d2bc 100644 (file)
@@ -61,7 +61,11 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
 
        pack_start (*io, true, true);
 
-       show_all ();
+       io->show ();
+       _gpm.show_all ();
+       _panners.show_all ();
+       _vbox.show ();
+       _hbox.show ();
 
        _send->set_metering (true);
 
@@ -124,6 +128,9 @@ SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session)
 
        set_name ("SendUIWindow");
 
+       ui->show ();
+       hpacker.show ();
+
        s->DropReferences.connect (going_away_connection, invalidator (*this), boost::bind (&SendUIWindow::send_going_away, this), gui_context());
 
        signal_delete_event().connect (sigc::bind (