Make buttons in track headers behave more like Gtk::MenuToolButton
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Thu, 18 Aug 2016 08:42:43 +0000 (10:42 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Thu, 18 Aug 2016 11:24:00 +0000 (13:24 +0200)
commit534ca8161357c3d557a342486c80c8e253ad263b
tree043601a11438a032998b31ba1dc3af58c32dc3c1
parent1d686ac978c6efd330f86d4d03f02112c778b2d2
Make buttons in track headers behave more like Gtk::MenuToolButton

Make their popup menus show attached, and on mouse down, but keep the
context menu behavior on middle- and right-click for the group button
that reacted to those (probably an oversight but some users might have
got the habit of right-clicking).

This also makes the group deletion on Ctrl+click happen on mouse down
instead of mouse up which is not a great difference and avoids
complicating the code.
gtk2_ardour/route_time_axis.cc
gtk2_ardour/route_time_axis.h