mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
foldback gui: simplify button code where possible
use signal_clicked rather than signal_button_press_event for cases where a menu is not launched.
This commit is contained in:
parent
da88e9d34c
commit
81bbc3be1e
2 changed files with 59 additions and 84 deletions
|
|
@ -252,10 +252,10 @@ private:
|
|||
void build_route_select_menu ();
|
||||
void list_fb_routes ();
|
||||
|
||||
gboolean previous_button_button_press (GdkEventButton*);
|
||||
gboolean next_button_button_press (GdkEventButton*);
|
||||
void previous_button_clicked ();
|
||||
void next_button_clicked ();
|
||||
void prev_next_changed ();
|
||||
gboolean show_sends_press (GdkEventButton*);
|
||||
void show_sends_clicked ();
|
||||
void send_blink (bool);
|
||||
|
||||
Gtk::Menu *sends_menu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue