Fix key bindings in tooltips for ArdourButton buttons.
authorDavid Robillard <d@drobilla.net>
Thu, 24 Nov 2011 05:36:31 +0000 (05:36 +0000)
committerDavid Robillard <d@drobilla.net>
Thu, 24 Nov 2011 05:36:31 +0000 (05:36 +0000)
commit0a71d52448f6144d5225269b378711bfba0bb37b
treed40c810164b7c6d85c80e006a08d9459564ed6fb
parent0bd3105f50f3c82586e0924a4be9977425caaf90
Fix key bindings in tooltips for ArdourButton buttons.

Sinced gtkmm2ext needs to get at the actions of widgets, I moved the
action to Gtkmm2ext::Activatable.  Not sure if the wisest thing to
do here would be to use Gtkmm::Activatable, but figured there's
a reason Paul didn't do so (the name set_related_action is from there
so presumably it's known about), so this is the simplest change
that allows access to the action in Gtkmm2ext.  The vfunc calling
stuff should probably move there as well...

git-svn-id: svn://localhost/ardour2/branches/3.0@10818 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/ardour_button.cc
gtk2_ardour/ardour_button.h
libs/gtkmm2ext/gtk_ui.cc
libs/gtkmm2ext/gtkmm2ext/activatable.h [new file with mode: 0644]