summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-26 15:17:42 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:24 -0500
commit6991a07902cc844b87c895aa56de613c96b88b4f (patch)
treea19dabdab9fc1c106cda3d4594a0135bb1a18013 /gtk2_ardour/keyeditor.cc
parentbc487bb4b02a9780938d6cf8528c888e59161aa9 (diff)
remove all trace of SAE from source code.
This had become incoherent over time, and posed a development hazard and burden going forward
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r--gtk2_ardour/keyeditor.cc24
1 files changed, 10 insertions, 14 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc
index 95ab7e029b..d8d1f2d592 100644
--- a/gtk2_ardour/keyeditor.cc
+++ b/gtk2_ardour/keyeditor.cc
@@ -63,20 +63,16 @@ KeyEditor::KeyEditor ()
vpacker.pack_start (notebook, true, true);
- if (!ARDOUR::Profile->get_sae()) {
+ Label* hint = manage (new Label (_("Select an action, then press the key(s) to (re)set its shortcut")));
+ hint->show ();
+ unbind_box.set_spacing (6);
+ unbind_box.pack_start (*hint, false, true);
+ unbind_box.pack_start (unbind_button, false, false);
+ unbind_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::unbind));
- Label* hint = manage (new Label (_("Select an action, then press the key(s) to (re)set its shortcut")));
- hint->show ();
- unbind_box.set_spacing (6);
- unbind_box.pack_start (*hint, false, true);
- unbind_box.pack_start (unbind_button, false, false);
- unbind_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::unbind));
-
- vpacker.pack_start (unbind_box, false, false);
- unbind_box.show ();
- unbind_button.show ();
-
- }
+ vpacker.pack_start (unbind_box, false, false);
+ unbind_box.show ();
+ unbind_button.show ();
reset_button.add (reset_label);
reset_label.set_markup (string_compose ("<span size=\"large\" weight=\"bold\">%1</span>", _("Reset Bindings to Defaults")));
@@ -133,7 +129,7 @@ KeyEditor::on_key_press_event (GdkEventKey* ev)
bool
KeyEditor::on_key_release_event (GdkEventKey* ev)
{
- if (ARDOUR::Profile->get_sae() || last_keyval == 0) {
+ if (last_keyval == 0) {
return false;
}