summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-11 02:47:53 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-11 02:47:53 +0000
commit99f7323e182bb1d7fd2f9be3d47780294cfaab2c (patch)
treec052357fffc5ea2959d093f76276a5edd1cc0db4
parent19ee77a74c1d1af839bcad05def18434e24698ca (diff)
show_all() more selectively so that unwanted notebook tabs don't appear in SendUI port matrices.
git-svn-id: svn://localhost/ardour2/branches/3.0@8504 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/processor_box.cc4
-rw-r--r--gtk2_ardour/send_ui.cc9
2 files changed, 10 insertions, 3 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index c489bce5be..4ccf52cae1 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -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) {
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc
index 1c668bd2ad..14068bbc5b 100644
--- a/gtk2_ardour/send_ui.cc
+++ b/gtk2_ardour/send_ui.cc
@@ -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 (