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:
Len Ovens 2019-09-12 09:39:38 -07:00
parent da88e9d34c
commit 81bbc3be1e
2 changed files with 59 additions and 84 deletions

View file

@ -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;