summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadPatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/LoadPatchWindow.cpp')
-rw-r--r--src/gui/LoadPatchWindow.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp
index 3a06843b..0fbc38c4 100644
--- a/src/gui/LoadPatchWindow.cpp
+++ b/src/gui/LoadPatchWindow.cpp
@@ -26,6 +26,7 @@
#include "client/PatchModel.hpp"
#include "client/ClientStore.hpp"
#include "shared/runtime_paths.hpp"
+#include "serialisation/names.hpp"
#include "App.hpp"
#include "LoadPatchWindow.hpp"
#include "PatchView.hpp"
@@ -74,10 +75,10 @@ LoadPatchWindow::LoadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gno
sigc::mem_fun(this, &LoadPatchWindow::selection_changed));
Gtk::FileFilter filt;
- filt.add_pattern("*.ingen.ttl");
- filt.set_name("Ingen patch files (*.ingen.ttl)");
- filt.add_pattern("*.ingen.lv2");
- filt.set_name("Ingen bundles (*.ingen.lv2)");
+ filt.add_pattern("*" INGEN_PATCH_FILE_EXT);
+ filt.set_name("Ingen patch files (*" INGEN_PATCH_FILE_EXT ")");
+ filt.add_pattern("*" INGEN_BUNDLE_EXT);
+ filt.set_name("Ingen bundles (*" INGEN_BUNDLE_EXT ")");
filt.add_pattern("*.om");
filt.set_name("Om patch files (*.om)");