make (parent,title) variant of ArdourWindow constructor set window title
This commit is contained in:
parent
620f1caf23
commit
f178c4f4ee
@ -42,11 +42,12 @@ ArdourWindow::ArdourWindow (string title)
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
}
|
||||
|
||||
ArdourWindow::ArdourWindow (Gtk::Window& parent, string /*title*/)
|
||||
ArdourWindow::ArdourWindow (Gtk::Window& parent, string title)
|
||||
: Window ()
|
||||
, VisibilityTracker (*((Gtk::Window*)this))
|
||||
{
|
||||
init ();
|
||||
set_title (title);
|
||||
set_transient_for (parent);
|
||||
set_position (Gtk::WIN_POS_CENTER_ON_PARENT);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user