summaryrefslogtreecommitdiff
path: root/gtk2_ardour/send_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-26 06:57:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-26 06:57:42 +0000
commit14f4a42ab51d6b5765b52f92a0dbcf5356cb5489 (patch)
tree5ed4c9d463ca2d1fb459fb02cb78d0f8a2cb5722 /gtk2_ardour/send_ui.cc
parent35b218b527ecc60c16767690ca4a1d86481a8e3e (diff)
make send GUIs into ArdourDialogs; ensure that panner changes propagate into the GUI even when the number of panners is reduced
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4259 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r--gtk2_ardour/send_ui.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc
index ee97ae959c..939d3bba74 100644
--- a/gtk2_ardour/send_ui.cc
+++ b/gtk2_ardour/send_ui.cc
@@ -113,22 +113,20 @@ SendUI::fast_update ()
}
SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session& ss)
+ : ArdourDialog (string("Ardour: send ") + s->name())
{
ui = new SendUI (s, ss);
- vpacker.set_border_width (5);
-
hpacker.pack_start (*ui, true, true);
- vpacker.pack_start (hpacker);
+ get_vbox()->set_border_width (5);
+ get_vbox()->pack_start (hpacker);
- add (vpacker);
set_name ("SendUIWindow");
going_away_connection = s->GoingAway.connect (mem_fun (*this, &SendUIWindow::send_going_away));
signal_delete_event().connect (bind (ptr_fun (just_hide_it), reinterpret_cast<Window *> (this)));
-
}
SendUIWindow::~SendUIWindow ()