diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-23 22:38:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-23 22:38:20 +0000 |
commit | eeffd3faa9feefafbcf775abeae0f182428ea2fd (patch) | |
tree | 046c1ff7d7243a31bc85df28e83e16b865913fce /gtk2_ardour/actions.h | |
parent | 345eca0fcf62dc3a3069772f463708f61156088b (diff) |
backport use of GtkAccelGroup::get_label() from a3 so that we use "nice" accelerator key descriptions in the key editor (i.e. "cauliflower" icon instead of "Command" or "Primary")
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11513 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.h')
-rw-r--r-- | gtk2_ardour/actions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/actions.h b/gtk2_ardour/actions.h index de663f106e..9b393c0aee 100644 --- a/gtk2_ardour/actions.h +++ b/gtk2_ardour/actions.h @@ -107,6 +107,8 @@ class ActionManager std::vector<Gtk::AccelKey>& bindings); static void uncheck_toggleaction (const char * actionname); + + static string get_key_representation (const std::string& accel_path, Gtk::AccelKey& key); }; #endif /* __ardour_gtk_actions_h__ */ |