13
0

Make pressing enter in the label or path entries trigger the default dialogue response (fixes #3763).

git-svn-id: svn://localhost/ardour2/branches/3.0@8865 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-16 01:08:25 +00:00
parent 1c3f709bf7
commit 039a7f544a
2 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,7 @@ ExportDialog::init ()
//rt_export_button = add_button (_("Realtime Export"), RESPONSE_RT); //rt_export_button = add_button (_("Realtime Export"), RESPONSE_RT);
//fast_export_button = add_button (_("Fast Export"), RESPONSE_FAST); //fast_export_button = add_button (_("Fast Export"), RESPONSE_FAST);
fast_export_button = add_button (_("Export"), RESPONSE_FAST); fast_export_button = add_button (_("Export"), RESPONSE_FAST);
set_default_response (RESPONSE_FAST);
list_files_button.set_name ("PaddedButton"); list_files_button.set_name ("PaddedButton");

View File

@ -50,10 +50,14 @@ ExportFilenameSelector::ExportFilenameSelector () :
include_hbox.pack_start (revision_checkbox, false, false, 3); include_hbox.pack_start (revision_checkbox, false, false, 3);
include_hbox.pack_start (revision_spinbutton, false, false, 3); include_hbox.pack_start (revision_spinbutton, false, false, 3);
label_entry.set_activates_default ();
path_hbox.pack_start (path_label, false, false, 3); path_hbox.pack_start (path_label, false, false, 3);
path_hbox.pack_start (path_entry, true, true, 3); path_hbox.pack_start (path_entry, true, true, 3);
path_hbox.pack_start (browse_button, false, false, 3); path_hbox.pack_start (browse_button, false, false, 3);
path_entry.set_activates_default ();
date_format_combo.set_name ("PaddedButton"); date_format_combo.set_name ("PaddedButton");
time_format_combo.set_name ("PaddedButton"); time_format_combo.set_name ("PaddedButton");
browse_button.set_name ("PaddedButton"); browse_button.set_name ("PaddedButton");