View Issue Details

IDProjectCategoryView StatusLast Update
0001996ardourbugspublic2020-04-19 20:12
Reporternaptastic Assigned Topaul  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product VersionSVN/2.0-ongoing 
Summary0001996: [PATCH] Region export dialog filename
DescriptionPlease note: this is the REGION export dialog, not the SESSION export dialog :-) It's accessed by right-clicking a region and selecting "export".

If I have my cursor in the file name editing box (like I'm typing a filename) I should be able to press "enter" and have the export job begin immediately. Enter does nothing at the moment :-/

Thanks!
TagsNo tags attached.

Activities

2009-10-20 23:19

 

1996.patch (893 bytes)   
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index e2596bd..eba1fdb 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -129,6 +129,7 @@ ExportDialog::ExportDialog(PublicEditor& e)
 	spec.running = false;
 
 	file_entry.set_name ("ExportFileNameEntry");
+	file_entry.set_activates_default (true);
 
 	master_list = ListStore::create (exp_cols);
 	master_selector.set_model (master_list);
@@ -369,6 +370,7 @@ ExportDialog::ExportDialog(PublicEditor& e)
 	cancel_button = add_button (Stock::CANCEL, RESPONSE_CANCEL);
 	cancel_button->signal_clicked().connect (mem_fun(*this, &ExportDialog::end_dialog));
 	ok_button = add_button (_("Export"), RESPONSE_ACCEPT);
+	set_default_response (RESPONSE_ACCEPT);
 	ok_button->signal_clicked().connect (mem_fun(*this, &ExportDialog::do_export));
 	
 	file_browse_button.set_name ("EditorGTKButton");
1996.patch (893 bytes)   

cth103

2009-10-20 23:19

administrator   ~0006813

Attached a patch against 2.0 SVN.

paul

2009-10-30 17:31

administrator   ~0006998

committed to 2.X (rev 5985). nice patch.

system

2020-04-19 20:12

developer   ~0021594

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2007-12-19 11:38 naptastic New Issue
2009-10-20 23:19 cth103 File Added: 1996.patch
2009-10-20 23:19 cth103 Note Added: 0006813
2009-10-20 23:19 cth103 Status new => assigned
2009-10-20 23:19 cth103 Assigned To => paul
2009-10-20 23:19 cth103 cost => 0.00
2009-10-20 23:19 cth103 Summary Region export dialog filename => [PATCH] Region export dialog filename
2009-10-30 17:31 paul Note Added: 0006998
2009-10-30 17:31 paul Status assigned => resolved
2009-10-30 17:31 paul Resolution open => fixed
2020-04-19 20:12 system Note Added: 0021594
2020-04-19 20:12 system Status resolved => closed