From 54269c883ee71bbf6df47fb515878c09129dc98d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 31 Oct 2009 19:04:51 +0000 Subject: [PATCH] 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 --- gtk2_ardour/rc_option_editor.cc | 5 +++-- 1 file 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)