X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Ffmt-bindings;h=39849b1847734155df9b576470af07a12be999d9;hb=b623bc32a0be9dd7b0ad379e4ffafdb6eb0308cd;hp=be1b23bf528a22ccc88dd685d1c2cf209b3ba839;hpb=c601f87c12e1f336358cfe205461492554c3c114;p=ardour.git diff --git a/tools/fmt-bindings b/tools/fmt-bindings index be1b23bf52..39849b1847 100755 --- a/tools/fmt-bindings +++ b/tools/fmt-bindings @@ -182,8 +182,12 @@ while (<>) { if ($merge_bindings{$lookup}) { $binding = $merge_bindings{$lookup}; } else { - # this action is not defined in the merge from set, so forget it - next; + if ($key =~ /^\+/) { + # forced inclusion of bindings from template + } else { + # this action is not defined in the merge from set, so forget it + next; + } } } @@ -198,7 +202,7 @@ while (<>) { foreach $k (keys %gtk_modifier_map) { $gtk_binding =~ s/\@$k\@/$gtk_modifier_map{$k}/; } - print "(gtk_accel_map \"/$action\" \"$gtk_binding\")\n"; + print "(gtk_accel_path \"/$action\" \"$gtk_binding\")\n"; } }