summaryrefslogtreecommitdiff
path: root/gtk2_ardour/visual_time_axis.cc
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2006-04-22 15:28:59 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2006-04-22 15:28:59 +0000
commitdcd4c89f34f51e3a65f01584f79d6569ccc3b1b1 (patch)
tree592436821dcd315f0709b7fad071b367226c260f /gtk2_ardour/visual_time_axis.cc
parentf81f877adffccffd5ada8431faa567db81122fee (diff)
Prompter now prevents blank strings or unaltered names & now has a horizontal orientation. Rename marker now uses the ArdourPrompter.
git-svn-id: svn://localhost/trunk/ardour2@463 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/visual_time_axis.cc')
-rw-r--r--gtk2_ardour/visual_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/visual_time_axis.cc b/gtk2_ardour/visual_time_axis.cc
index cf2582bd15..b6c96c55ab 100644
--- a/gtk2_ardour/visual_time_axis.cc
+++ b/gtk2_ardour/visual_time_axis.cc
@@ -323,6 +323,7 @@ VisualTimeAxis::start_time_axis_rename()
name_prompter.set_prompt (_("new name: ")) ;
name_prompter.add_button (_("Rename"), Gtk::RESPONSE_ACCEPT);
+ name_prompter.set_response_sensitive (Gtk::RESPONSE_ACCEPT, false);
name_prompter.show_all() ;
switch (name_prompter.run ()) {