diff options
author | Robin Gareus <robin@gareus.org> | 2019-01-02 17:37:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-01-02 17:37:36 +0100 |
commit | 6f0159829758a3677c53ce0d8e7fc47703ecabc3 (patch) | |
tree | dc01f8006b09156991322d1e97b85d90547373dc /gtk2_ardour/export_video_dialog.cc | |
parent | ac9329f907bf011395968764c82d7c7c13675b7c (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/export_video_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_video_dialog.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/export_video_dialog.cc b/gtk2_ardour/export_video_dialog.cc index d5182bcc5f..b97e5bc717 100644 --- a/gtk2_ardour/export_video_dialog.cc +++ b/gtk2_ardour/export_video_dialog.cc @@ -1257,6 +1257,7 @@ void ExportVideoDialog::open_outfn_dialog () { Gtk::FileChooserDialog dialog(_("Save Exported Video File"), Gtk::FILE_CHOOSER_ACTION_SAVE); + Gtkmm2ext::add_volume_shortcuts (dialog); dialog.set_filename (outfn_path_entry.get_text()); dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); @@ -1277,6 +1278,7 @@ void ExportVideoDialog::open_invid_dialog () { Gtk::FileChooserDialog dialog(_("Save Exported Video File"), Gtk::FILE_CHOOSER_ACTION_SAVE); + Gtkmm2ext::add_volume_shortcuts (dialog); dialog.set_filename (invid_path_entry.get_text()); dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); |