diff options
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 1f7f813a47..0b0da6fe04 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -168,11 +168,6 @@ AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session& sess, Route& rt visual_button.signal_clicked().connect (mem_fun(*this, &AudioTimeAxisView::visual_click)); hide_button.signal_clicked().connect (mem_fun(*this, &AudioTimeAxisView::hide_click)); - name_entry.signal_activate().connect (mem_fun(*this, &AudioTimeAxisView::name_entry_activated)); - name_entry.signal_button_press_event().connect (mem_fun(*this, &AudioTimeAxisView::name_entry_button_press_handler)); - name_entry.signal_button_release_event().connect (mem_fun(*this, &AudioTimeAxisView::name_entry_button_release_handler)); - name_entry.signal_key_release_event().connect (mem_fun(*this, &AudioTimeAxisView::name_entry_key_release_handler)); - if (is_audio_track()) { controls_table.attach (*rec_enable_button, 6, 7, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 0, 0); } @@ -1090,45 +1085,6 @@ AudioTimeAxisView::playlist () const } } -gint -AudioTimeAxisView::name_entry_button_press_handler (GdkEventButton *ev) -{ - if (ev->button == 3) { - return stop_signal (name_entry, "button_press_event"); - } - return FALSE; -} - -gint -AudioTimeAxisView::name_entry_button_release_handler (GdkEventButton *ev) -{ - return FALSE; -} - -gint -AudioTimeAxisView::name_entry_key_release_handler (GdkEventKey* ev) -{ - switch (ev->keyval) { - case GDK_Tab: - case GDK_Up: - case GDK_Down: - name_entry_changed (); - return TRUE; - - default: - return FALSE; - } -} - -void -AudioTimeAxisView::name_entry_activated () -{ - /* this should drop focus from the entry, - and cause a call to name_entry_changed() - */ - controls_ebox.grab_focus(); -} - void AudioTimeAxisView::name_entry_changed () { |