mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 17:11:20 +01:00
Second big batch of Extended Import Filtering improvements
* /ExtendedImport/OverrideExtendedImportByOpenFileDialogChoice preference enables the override (backward-compatibel behaviour), and it is now false by default * File names (and mime types) and patterns are Lower()'ed before being fed to wxMatchWild(), now matching should be case-insensitive * Now empty rule elements (empty list of extensions, empty list of mime types) will match anything (just as if they had one "*" element) * "Extended Import" preferences tab is now next to "Import/Export" tab * Preferences now use Grid class (the one used in Tag editor) instead of default wxGrid. Tabbing now works correctly. * First attempt to add Drag'n'Drop re-ordering for Rule table. Seems to be working. * Cleaned up a couple of cruft code comments. * Separate buttons (with hotkeys) for moving rules and filters up and down (ctrl+up/down still works) * Moved some code into helper funcions (can be called from both button and keyboard event handlers) * Grid is now configured in PopulateOrExchange (the same way it is in Tags.cpp) * Keep selection while moving table rows and list items * Detect trailing/leading spaces in rule condition and offer to trim them
This commit is contained in:
@@ -99,6 +99,7 @@ PrefsDialog::PrefsDialog(wxWindow * parent)
|
||||
w = new GUIPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new TracksPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new ImportExportPrefs(mCategories);mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new ExtImportPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new ProjectsPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new LibraryPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new SpectrumPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
@@ -113,8 +114,6 @@ PrefsDialog::PrefsDialog(wxWindow * parent)
|
||||
// w = new BatchPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new KeyConfigPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
w = new MousePrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
|
||||
w = new ExtImportPrefs(mCategories); mCategories->AddPage(w, w->GetName(), false, 0);
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user