summaryrefslogtreecommitdiff
path: root/gtk2_ardour/io_selector.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-19 19:07:31 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-19 19:07:31 +0000
commit6da5dd6d41df9e3d05b9b8cceaf1b671b4e21141 (patch)
tree299692da802c9bd7a23c63cb801e69f44733eea1 /gtk2_ardour/io_selector.h
parentaf5b9f92a52f08d154ad84c60c61823cb45b62db (diff)
Port matrix tweaks: scroll wheel support; use the correct verb for disassociation in the menu; fixes for gaps appearing when groups are hidden.
git-svn-id: svn://localhost/ardour2/branches/3.0@5382 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.h')
-rw-r--r--gtk2_ardour/io_selector.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/io_selector.h b/gtk2_ardour/io_selector.h
index 24e99e27ec..eccdd91a26 100644
--- a/gtk2_ardour/io_selector.h
+++ b/gtk2_ardour/io_selector.h
@@ -22,6 +22,7 @@
#include "ardour_dialog.h"
#include "port_matrix.h"
+#include "i18n.h"
namespace ARDOUR {
class PortInsert;
@@ -43,6 +44,10 @@ class IOSelector : public PortMatrix
bool can_rename_channels (int d) const {
return false;
}
+
+ std::string disassociation_verb () const {
+ return _("Disconnect");
+ }
uint32_t n_io_ports () const;
boost::shared_ptr<ARDOUR::IO> const io () { return _io; }
@@ -61,7 +66,6 @@ class IOSelector : public PortMatrix
return _other;
}
-
private:
int _other;