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
This commit is contained in:
Paul Davis 2009-10-31 19:04:51 +00:00
parent 40c85f8027
commit 54269c883e

View File

@ -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)