diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-29 18:52:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-29 18:52:55 +0000 |
commit | 2f53112e83ff46ed535696a940e0bd5258a4fe66 (patch) | |
tree | c37acf6647e68faf3df25b463f7429c4c00b1e9c /gtk2_ardour/route_ui.cc | |
parent | e27ac3278b0d335be0ccd9d6d6373287d406adb5 (diff) |
a) fix special button press handling for solo+mute buttons
b) buttons for "restore pending state" dialog had reversed semantics
c) logic for checking a pending source file header was wrong
d) fixed file unlink from within real-time context
git-svn-id: svn://localhost/trunk/ardour2@424 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index a96ca82009..8ed4bcd1c8 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -249,24 +249,23 @@ RouteUI::solo_press(GdkEventButton* ev) } } - return stop_signal (*solo_button, "button-press-event"); + return true; } gint RouteUI::solo_release(GdkEventButton* ev) { - if(!ignore_toggle){ - if (wait_for_release){ + if (!ignore_toggle) { + if (wait_for_release) { wait_for_release = false; // undo the last op // because the press was the last undoable thing we did _session.undo (1U); - - stop_signal (*solo_button, "button-release-event"); } } - return TRUE; + + return true; } gint |