, instrument_label (_("Instrument:"))
{
set_name ("AddRouteDialog");
- set_modal (true);
set_skip_taskbar_hint (true);
set_resizable (false);
set_position (WIN_POS_MOUSE);
void
ARDOUR_UI::add_route ()
{
- int count;
+ if (!add_route_dialog.get (false)) {
+ add_route_dialog->signal_response().connect (sigc::mem_fun (*this, &ARDOUR_UI::add_route_dialog_finished));
+ }
if (!_session) {
return;
return;
}
- ResponseType r = (ResponseType) add_route_dialog->run ();
+ add_route_dialog->set_position (WIN_POS_MOUSE);
+ add_route_dialog->present();
+}
+
+void
+ARDOUR_UI::add_route_dialog_finished (int r)
+{
+ int count;
add_route_dialog->hide();
void synchronize_sync_source_and_video_pullup ();
void add_route ();
+ void add_route_dialog_finished (int);
void add_routes_part_two ();
void add_routes_thread ();
void new_group ();
void set_group (ARDOUR::RouteGroup *);
void new_group_dialog_finished (int, RouteGroupDialog*);
+
Gtk::Menu* _menu;
PBD::PropertyList* _default_properties;