mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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.
This commit is contained in:
parent
ac9329f907
commit
6f01598297
16 changed files with 36 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue