From b887014a07a2092b94395ec9a342ed4221b55c39 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 10 Aug 2010 22:02:06 +0000 Subject: [PATCH] neo was told there was no spoon, i'm telling you there is no bsharp git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@7589 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/step_entry.cc | 9 +-------- gtk2_ardour/step_entry.h | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc index 27a0ee4a3..801055a78 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 diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h index 3419a5b63..d9c549230 100644 --- a/gtk2_ardour/step_entry.h +++ b/gtk2_ardour/step_entry.h @@ -135,7 +135,6 @@ class StepEntry : public ArdourDialog void insert_a (); void insert_asharp (); void insert_b (); - void insert_bsharp (); void insert_c (); void insert_csharp (); void insert_d (); -- 2.11.4.GIT