summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-12-27 14:08:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-12-27 14:08:38 +0000
commit4481cca74a6003cdcc982e5677adcbbdbf1e617d (patch)
treef2e605ca9fdbb8416115664114805b4991c64e5a /gtk2_ardour/time_axis_view.h
parent3b8b088bd8ee5864fb12a279b9ed607712db2b0e (diff)
do not start editing track/bus names on a single click in the name entry of the track header - require double click; show name label rather than name entry when rec-enabled, to allow using the name area for track selection (name entry would have been visually still available for editing, which is misleading
git-svn-id: svn://localhost/ardour2/branches/3.0@13738 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index 5966d78ed8..26da869ee5 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -214,6 +214,8 @@ class TimeAxisView : public virtual AxisView
std::string controls_base_unselected_name;
std::string controls_base_selected_name;
+ virtual bool can_edit_name() const;
+
bool name_entry_button_press (GdkEventButton *ev);
bool name_entry_button_release (GdkEventButton *ev);
bool name_entry_key_release (GdkEventKey *ev);