Trigger clip picker: add apple loop paths

This commit is contained in:
Robin Gareus
2021-12-30 21:23:05 +01:00
parent d06a70a10a
commit 658d8c512e

View File

@@ -59,6 +59,16 @@ TriggerClipPicker::TriggerClipPicker ()
, _seeking (false)
{
/* Setup Dropdown / File Browser */
#ifdef __APPLE__
try {
/* add_shortcut_folder throws an exception if the folder being added already has a shortcut */
_fcd.add_shortcut_folder_uri ("file:///Library/GarageBand/Apple Loops");
_fcd.add_shortcut_folder_uri ("file:///Library/Audio/Apple Loops");
_fcd.add_shortcut_folder_uri ("file:///Library/Application Support/GarageBand/Instrument Library/Sampler/Sampler Files");
}
catch (Glib::Error & e) {}
#endif
Gtkmm2ext::add_volume_shortcuts (_fcd);
_fcd.add_button (Stock::CANCEL, RESPONSE_CANCEL);