From 5a39bf595c737dbb36666a9e718ac267e9131380 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 5 Mar 2006 19:39:16 +0000 Subject: export range markers patch (revisited), change selection model, copy-drag tempo+meter marker patch git-svn-id: svn://localhost/trunk/ardour2@349 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/io_selector.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/io_selector.cc') diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc index 1f7c7dc045..81f39f27c5 100644 --- a/gtk2_ardour/io_selector.cc +++ b/gtk2_ardour/io_selector.cc @@ -21,6 +21,8 @@ #include #include +#include + #include #include @@ -36,7 +38,6 @@ #include #include "utils.h" -#include "ardour_message.h" #include "io_selector.h" #include "keyboard.h" #include "gui_thread.h" @@ -557,7 +558,8 @@ IOSelector::add_port () } catch (AudioEngine::PortRegistrationFailure& err) { - ArdourMessage msg (0, X_("noport dialog"), _("There are no more JACK ports available.")); + MessageDialog msg (0, _("There are no more JACK ports available.")); + msg.run (); } if (io.input_maximum() >= 0 && io.input_maximum() <= (int) io.n_inputs()) { @@ -575,8 +577,8 @@ IOSelector::add_port () } catch (AudioEngine::PortRegistrationFailure& err) { - ArdourMessage msg (0, X_("noport dialog"), - _("There are no more JACK ports available.")); + MessageDialog msg (0, _("There are no more JACK ports available.")); + msg.run (); } if (io.output_maximum() >= 0 && io.output_maximum() <= (int) io.n_outputs()) { -- cgit v1.2.3