summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_clock.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-03-22 15:05:50 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-03-22 15:05:50 +0000
commit6bcb3cde4316b17dbf9d87ac3f3c2d4430c45069 (patch)
tree29fa0c5d2e38b09bbb58339613e5b55aaebf586b /gtk2_ardour/audio_clock.cc
parent9ce894d42cf1fda76e22474e504e4ad895c02e82 (diff)
remove button 4/5 handling (now scroll_up/down); prevent dbl-click on xfade from locking up the mouse
git-svn-id: svn://localhost/ardour2/trunk@1634 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r--gtk2_ardour/audio_clock.cc33
1 files changed, 0 insertions, 33 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc
index 1334bfdc4b..28505ab46d 100644
--- a/gtk2_ardour/audio_clock.cc
+++ b/gtk2_ardour/audio_clock.cc
@@ -1073,39 +1073,6 @@ AudioClock::field_button_press_event (GdkEventButton *ev, Field field)
return FALSE;
break;
- case 4:
- if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
- frames = get_frames (field);
- if (frames != 0) {
- if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
- frames *= 10;
- }
- set (current_time() + frames, true);
- ValueChanged (); /* EMIT_SIGNAL */
- }
- }
- break;
-
- case 5:
- if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
- frames = get_frames (field);
- if (frames != 0) {
- if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
- frames *= 10;
- }
-
- if ((double)current_time() - (double)frames < 0.0) {
- set (0, true);
- }
- else {
- set (current_time() - frames, true);
- }
-
- ValueChanged (); /* EMIT_SIGNAL */
- }
- }
- break;
-
default:
return FALSE;
break;