mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Include Volume Paths in Ardour's PathsDialog Widget
This fixes an issue on MacOS/X. Show non-root volumes to the sidebar as shortcuts.
This commit is contained in:
parent
6f01598297
commit
552ede7695
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue