summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-31 19:04:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-31 19:04:51 +0000
commit54269c883ee71bbf6df47fb515878c09129dc98d (patch)
tree380d4534b149fcbeaf6406e268d82f2efaa8836e /gtk2_ardour
parent40c85f80276766554acbe0a05f89d8bab04dca82 (diff)
allowup to 12 buttons in prefs editor, and allow for unmodified button ops there
git-svn-id: svn://localhost/ardour2/branches/3.0@5993 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/rc_option_editor.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 8c164c75cf..c20fbef2a6 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -479,12 +479,13 @@ static const struct {
guint modifier;
} modifiers[] = {
+ { "Unmodified", 0 },
+
#ifdef GTKOSX
/* Command = Meta
Option/Alt = Mod1
*/
-
{ "Shift", GDK_SHIFT_MASK },
{ "Command", GDK_META_MASK },
{ "Control", GDK_CONTROL_MASK },
@@ -515,7 +516,7 @@ class KeyboardOptions : public OptionEditorBox
{
public:
KeyboardOptions () :
- _delete_button_adjustment (3, 1, 5),
+ _delete_button_adjustment (3, 1, 12),
_delete_button_spin (_delete_button_adjustment),
_edit_button_adjustment (3, 1, 5),
_edit_button_spin (_edit_button_adjustment)