From 6f0159829758a3677c53ce0d8e7fc47703ecabc3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 2 Jan 2019 17:37:03 +0100 Subject: Add external drive references for most file-browsers This fixes an issue on MacOS/X to only show non-root volumes in the file-open dialog. They're just as valid for save-as, export, video files etc. In case of a 2nd internal disk, it is also a valid choice as default folder for new sessions. --- gtk2_ardour/option_editor.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/option_editor.cc') diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index c930254cbe..a61cd46064 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -895,6 +895,7 @@ DirectoryOption::DirectoryOption (string const & i, string const & n, sigc::slot , _get (g) , _set (s) { + Gtkmm2ext::add_volume_shortcuts (_file_chooser); _file_chooser.set_action (Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER); _file_chooser.signal_selection_changed().connect (sigc::mem_fun (*this, &DirectoryOption::selection_changed)); } -- cgit v1.2.3