diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-22 15:28:59 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-22 15:28:59 +0000 |
commit | dcd4c89f34f51e3a65f01584f79d6569ccc3b1b1 (patch) | |
tree | 592436821dcd315f0709b7fad071b367226c260f /gtk2_ardour/sfdb_ui.cc | |
parent | f81f877adffccffd5ada8431faa567db81122fee (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/sfdb_ui.cc')
-rw-r--r-- | gtk2_ardour/sfdb_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 10f1530612..149b7f66ca 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -236,6 +236,7 @@ SoundFileBox::add_field_clicked () prompter.set_prompt (_("Name for Field")); prompter.add_button (Gtk::Stock::ADD, Gtk::RESPONSE_ACCEPT); + prompter.set_response_sensitive (Gtk::RESPONSE_ACCEPT, false); switch (prompter.run ()) { case Gtk::RESPONSE_ACCEPT: |