X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fpt_import_selector.cc;h=3446383f2f87e71efcd00921c5b85e558c8e2ef5;hb=c97116083fd51e1d3108cabf92c890c45292fbab;hp=d6c17a68c450529263585efffe3025c1e6f7241d;hpb=a1de50f217d2a1873defdaff16fa615998f788fd;p=ardour.git diff --git a/gtk2_ardour/pt_import_selector.cc b/gtk2_ardour/pt_import_selector.cc index d6c17a68c4..3446383f2f 100644 --- a/gtk2_ardour/pt_import_selector.cc +++ b/gtk2_ardour/pt_import_selector.cc @@ -22,13 +22,17 @@ #include #include #include + #include "pbd/gstdio_compat.h" #include "pbd/i18n.h" #include "pbd/file_utils.h" -#include +#include "ptformat/ptfformat.h" #include "ardour/session_handle.h" + +#include "gtkmm2ext/utils.h" + #include "pt_import_selector.h" using namespace Gtk; @@ -66,6 +70,7 @@ PTImportSelector::PTImportSelector (PTFFormat& ptf) : match_pt_filter.add_pattern ("*.ptx"); match_pt_filter.set_name (_("All PT sessions")); + Gtkmm2ext::add_volume_shortcuts (ptimport_ptf_chooser); ptimport_ptf_chooser.add_filter (match_pt_filter); ptimport_ptf_chooser.set_select_multiple (false); //XXX ptimport_ptf_chooser.set_current_folder (dstdir);