summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dropdown.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-08-28 10:31:57 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-08-28 10:31:57 -0500
commit3f297f7dab524dd17ef173efe41acd0ab028b0d5 (patch)
tree3c019c527403bf6dfd2fed9e1b8fe5efcee966c2 /gtk2_ardour/ardour_dropdown.h
parent3cc19c2cce9ae7016232d28e0df3c9755ad1ca48 (diff)
Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them. This allows ArdourButtons to do the "Pressed" animation And it now correctly eats the event so button clicks don't select the channelstrip.
Diffstat (limited to 'gtk2_ardour/ardour_dropdown.h')
-rw-r--r--gtk2_ardour/ardour_dropdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_dropdown.h b/gtk2_ardour/ardour_dropdown.h
index b9144c97f7..9d96e575f0 100644
--- a/gtk2_ardour/ardour_dropdown.h
+++ b/gtk2_ardour/ardour_dropdown.h
@@ -36,7 +36,7 @@ class ArdourDropdown : public ArdourButton
ArdourDropdown (Element e = default_elements);
virtual ~ArdourDropdown ();
- bool on_mouse_pressed (GdkEventButton*);
+ bool on_button_press_event (GdkEventButton*);
void AddMenuElem (Gtk::Menu_Helpers::MenuElem e);