mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
We need this because we need binding information/objects before all Actions have been defined.
This commit is contained in:
parent
29b69b0ab4
commit
67e19c177f
25 changed files with 734 additions and 922 deletions
|
|
@ -365,10 +365,11 @@ UI::set_tip (Widget *w, const gchar *tip, const gchar *hlp)
|
|||
}
|
||||
|
||||
if (action) {
|
||||
#warning Paul fix this before you think tabbed is done
|
||||
Gtk::AccelKey key;
|
||||
ustring ap = action->get_accel_path();
|
||||
if (!ap.empty()) {
|
||||
string shortcut = ActionManager::get_key_representation (ap, key);
|
||||
string shortcut = string(); // ActionManager::get_key_representation (ap, key);
|
||||
if (!shortcut.empty()) {
|
||||
replace_all (shortcut, "<", "");
|
||||
replace_all (shortcut, ">", "-");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue