summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-10 22:02:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-10 22:02:06 +0000
commitbbdc31768ae4ba768ac79982cc59e403d00f455c (patch)
tree812dfd92af06e80eb3c20b4eedb11b8add1853ad /gtk2_ardour/step_entry.cc
parent71970fb8811a2889b0b98b357e5a9615862f611f (diff)
neo was told there was no spoon, i'm telling you there is no bsharp
git-svn-id: svn://localhost/ardour2/branches/3.0@7589 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.cc')
-rw-r--r--gtk2_ardour/step_entry.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc
index 27a0ee4a3c..801055a786 100644
--- a/gtk2_ardour/step_entry.cc
+++ b/gtk2_ardour/step_entry.cc
@@ -485,9 +485,8 @@ StepEntry::register_actions ()
/* add named actions for the editor */
myactions.register_action ("StepEditing", "insert-a", _("Insert Note A"), sigc::mem_fun (*this, &StepEntry::insert_a));
- myactions.register_action ("StepEditing", "insert-bsharp", _("Insert Note A-sharp"), sigc::mem_fun (*this, &StepEntry::insert_asharp));
+ myactions.register_action ("StepEditing", "insert-asharp", _("Insert Note A-sharp"), sigc::mem_fun (*this, &StepEntry::insert_asharp));
myactions.register_action ("StepEditing", "insert-b", _("Insert Note B"), sigc::mem_fun (*this, &StepEntry::insert_b));
- myactions.register_action ("StepEditing", "insert-bsharp", _("Insert Note B-sharp"), sigc::mem_fun (*this, &StepEntry::insert_bsharp));
myactions.register_action ("StepEditing", "insert-c", _("Insert Note C"), sigc::mem_fun (*this, &StepEntry::insert_c));
myactions.register_action ("StepEditing", "insert-csharp", _("Insert Note C-sharp"), sigc::mem_fun (*this, &StepEntry::insert_csharp));
myactions.register_action ("StepEditing", "insert-d", _("Insert Note D"), sigc::mem_fun (*this, &StepEntry::insert_d));
@@ -629,12 +628,6 @@ StepEntry::insert_b ()
}
void
-StepEntry::insert_bsharp ()
-{
- insert_note (12 + (current_octave() * 12));
-}
-
-void
StepEntry::note_length_change (GtkAction* act)
{
/* it doesn't matter which note length action we look up - we are interested