summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-03-05 07:10:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-04 22:08:03 -0800
commita94f7807f8eb99b5387d7f9cd973571d9f44f904 (patch)
tree851b2643648b0267b4b1d4ef8e9daf530815ec75 /gtk-gui.c
parenta6a487306e5606cb49351c23e3eb2527cd0a79d3 (diff)
downloadsubsurface-a94f7807f8eb99b5387d7f9cd973571d9f44f904.tar.gz
Limited support for Suunto DM4 import
Basic functionality is implemented but at least support for multiple cylinders is missing. Event/alarm support is only partial. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 95a278315..31d68c319 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -138,6 +138,11 @@ static GtkFileFilter *setup_filter(void)
gtk_file_filter_add_pattern(filter, "*.dld");
gtk_file_filter_add_pattern(filter, "*.DLD");
#endif
+#ifdef SQLITE3
+ gtk_file_filter_add_pattern(filter, "*.DB");
+ gtk_file_filter_add_pattern(filter, "*.db");
+#endif
+
gtk_file_filter_add_mime_type(filter, "text/xml");
gtk_file_filter_set_name(filter, _("XML file"));