From 552ede7695b3d3a45a4590932c5c86d03f251e60 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 2 Jan 2019 17:38:34 +0100 Subject: Include Volume Paths in Ardour's PathsDialog Widget This fixes an issue on MacOS/X. Show non-root volumes to the sidebar as shortcuts. --- libs/widgets/paths_dialog.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/widgets/paths_dialog.cc') 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 selection = paths_list_view.get_selected(); if (selection.size() == 1 ) { -- cgit v1.2.3