summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-01-02 17:37:03 +0100
committerRobin Gareus <robin@gareus.org>2019-01-02 17:37:36 +0100
commit6f0159829758a3677c53ce0d8e7fc47703ecabc3 (patch)
treedc01f8006b09156991322d1e97b85d90547373dc /gtk2_ardour/option_editor.cc
parentac9329f907bf011395968764c82d7c7c13675b7c (diff)
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.
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc1
1 files changed, 1 insertions, 0 deletions
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));
}