summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-05-21 19:17:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:44 -0400
commit428ed8ae1b9df42b91d932242ed51d30d0255c03 (patch)
treef96502be2cd2c6ca7ed0d0963935cbe90699b569 /gtk2_ardour/time_axis_view.h
parent30d0b2a3546e50d359e712f239a16e08f37d38c7 (diff)
stop playing silly games with widget packing when editing a route name in the edito
Use a FloatingTextEntry instead. All clever functionality from previous implementation has been retained.
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index ad9add4484..13ade6a2fe 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -255,20 +255,12 @@ class TimeAxisView : public virtual AxisView
virtual bool can_edit_name() const;
- bool name_entry_key_release (GdkEventKey *ev);
- bool name_entry_key_press (GdkEventKey *ev);
- bool name_entry_focus_out (GdkEventFocus *ev);
- void name_entry_populate_popup (Gtk::Menu *);
-
- Gtk::Entry* name_entry;
- bool ending_name_edit;
- bool by_popup_menu;
void begin_name_edit ();
- void end_name_edit (int);
+ void end_name_edit (std::string, int);
/* derived classes can override these */
- virtual void name_entry_changed ();
+ virtual bool name_entry_changed (std::string const&);
/** Handle mouse relaese on our LHS control name ebox.
*