summaryrefslogtreecommitdiff
path: root/gtk2_ardour/io_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-03-05 19:39:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-03-05 19:39:16 +0000
commit5a39bf595c737dbb36666a9e718ac267e9131380 (patch)
tree12219a08eec7305a135eafff4210a037ff5f8804 /gtk2_ardour/io_selector.cc
parentcaeb564748e7ece1025f55f005fe5591795ec234 (diff)
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
Diffstat (limited to 'gtk2_ardour/io_selector.cc')
-rw-r--r--gtk2_ardour/io_selector.cc10
1 files changed, 6 insertions, 4 deletions
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 <map>
#include <vector>
+#include <gtkmm/messagedialog.h>
+
#include <pbd/lockmonitor.h>
#include <ardour/io.h>
@@ -36,7 +38,6 @@
#include <gtkmm2ext/utils.h>
#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()) {