mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
fix merge conflicts from master
This commit is contained in:
commit
ee1b49f87e
98 changed files with 20163 additions and 16410 deletions
|
|
@ -336,6 +336,13 @@ PortMatrix::select_arrangement ()
|
|||
_vbox.pack_end (_vnotebook, false, false);
|
||||
_vbox.pack_end (_vspacer, true, true);
|
||||
|
||||
#define REMOVE_FROM_GTK_PARENT(WGT) if ((WGT).get_parent()) { (WGT).get_parent()->remove(WGT);}
|
||||
REMOVE_FROM_GTK_PARENT(*_body)
|
||||
REMOVE_FROM_GTK_PARENT(_vscroll)
|
||||
REMOVE_FROM_GTK_PARENT(_hscroll)
|
||||
REMOVE_FROM_GTK_PARENT(_vbox)
|
||||
REMOVE_FROM_GTK_PARENT(_hbox)
|
||||
|
||||
attach (*_body, 2, 3, 1, 2, FILL | EXPAND, FILL | EXPAND);
|
||||
attach (_vscroll, 3, 4, 1, 2, SHRINK);
|
||||
attach (_hscroll, 2, 3, 3, 4, FILL | EXPAND, SHRINK);
|
||||
|
|
@ -355,6 +362,12 @@ PortMatrix::select_arrangement ()
|
|||
_vbox.pack_end (_vnotebook, false, false);
|
||||
_vbox.pack_end (_vlabel, false, false);
|
||||
|
||||
REMOVE_FROM_GTK_PARENT(*_body)
|
||||
REMOVE_FROM_GTK_PARENT(_vscroll)
|
||||
REMOVE_FROM_GTK_PARENT(_hscroll)
|
||||
REMOVE_FROM_GTK_PARENT(_vbox)
|
||||
REMOVE_FROM_GTK_PARENT(_hbox)
|
||||
|
||||
attach (*_body, 1, 2, 2, 3, FILL | EXPAND, FILL | EXPAND);
|
||||
attach (_vscroll, 3, 4, 2, 3, SHRINK);
|
||||
attach (_hscroll, 1, 2, 3, 4, FILL | EXPAND, SHRINK);
|
||||
|
|
@ -733,7 +746,7 @@ PortMatrix::remove_channel (ARDOUR::BundleChannel b)
|
|||
int const r = io->remove_port (p, this);
|
||||
if (r == -1) {
|
||||
ArdourDialog d (_("Port removal not allowed"));
|
||||
Label l (_("This port cannot be removed, as the first plugin in the track or buss cannot accept the new number of inputs."));
|
||||
Label l (_("This port cannot be removed.\nEither the first plugin in the track or buss cannot accept\nthe new number of inputs or the last plugin has more outputs."));
|
||||
d.get_vbox()->pack_start (l);
|
||||
d.add_button (Stock::OK, RESPONSE_ACCEPT);
|
||||
d.set_modal (true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue