diff options
author | Robin Gareus <robin@gareus.org> | 2019-01-02 17:38:34 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-01-02 17:40:03 +0100 |
commit | 552ede7695b3d3a45a4590932c5c86d03f251e60 (patch) | |
tree | 98c306bb617e9d6587029591eb0c2b08a8ce4844 /libs/widgets | |
parent | 6f0159829758a3677c53ce0d8e7fc47703ecabc3 (diff) |
Include Volume Paths in Ardour's PathsDialog Widget
This fixes an issue on MacOS/X. Show non-root volumes to the sidebar
as shortcuts.
Diffstat (limited to 'libs/widgets')
-rw-r--r-- | libs/widgets/paths_dialog.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/widgets/paths_dialog.cc b/libs/widgets/paths_dialog.cc index 6d2350fa67..f643f66582 100644 --- a/libs/widgets/paths_dialog.cc +++ b/libs/widgets/paths_dialog.cc @@ -25,6 +25,9 @@ #include "pbd/i18n.h" #include "pbd/pathexpand.h" + +#include "gtkmm2ext/utils.h" + #include "widgets/paths_dialog.h" using namespace Gtk; @@ -112,6 +115,7 @@ PathsDialog::selection_changed () { void PathsDialog::add_path() { Gtk::FileChooserDialog d (_("Add folder to search path"), Gtk::FILE_CHOOSER_ACTION_SELECT_FOLDER); + Gtkmm2ext::add_volume_shortcuts (d); std::vector<int> selection = paths_list_view.get_selected(); if (selection.size() == 1 ) { |