summaryrefslogtreecommitdiff
path: root/gtk2_ardour/actions.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-25 16:45:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-25 16:45:21 +0000
commit6b19aee3b511eaae2800837175e9b9a931d325e7 (patch)
tree884dfd55ed65e94c1b713d51b366bfe14909e200 /gtk2_ardour/actions.cc
parent2881a495ef8aa020a86ee761cac7a3ba74bcfc58 (diff)
split out sndfile manager code into its own file; move a couple of utility functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now
git-svn-id: svn://localhost/ardour2/branches/3.0@7160 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.cc')
-rw-r--r--gtk2_ardour/actions.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/gtk2_ardour/actions.cc b/gtk2_ardour/actions.cc
index 6d29737b86..49ac38d405 100644
--- a/gtk2_ardour/actions.cc
+++ b/gtk2_ardour/actions.cc
@@ -186,16 +186,3 @@ ActionManager::map_some_state (const char* group, const char* action, sigc::slot
}
}
-string
-ActionManager::get_key_representation (const string& accel_path, AccelKey& key)
-{
- bool known = lookup_entry (accel_path, key);
-
- if (known) {
- uint32_t k = possibly_translate_legal_accelerator_to_real_key (key.get_key());
- key = AccelKey (k, Gdk::ModifierType (key.get_mod()));
- return ui_manager->get_accel_group()->name (key.get_key(), Gdk::ModifierType (key.get_mod()));
- }
-
- return unbound_string;
-}