summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-02-20 19:01:26 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-20 10:59:53 -0800
commit80539614b4e4125a71bfacdd65378a492d3f9c5a (patch)
tree38b0a4ab0d875692d19788413e691dbe3fd34d0f /gtk-gui.c
parentf6debdc1837e1b1d016cb095787f7af65ecbc42d (diff)
downloadsubsurface-80539614b4e4125a71bfacdd65378a492d3f9c5a.tar.gz
Add unzip support to divelogs.de exports
Finalize divelog.de import, used with Miiko's divelog.de xslt transform Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 40954bae9..65a308c55 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -126,6 +126,8 @@ static GtkFileFilter *setup_filter(void)
#ifdef LIBZIP
gtk_file_filter_add_pattern(filter, "*.sde");
gtk_file_filter_add_pattern(filter, "*.SDE");
+ gtk_file_filter_add_pattern(filter, "*.zip");
+ gtk_file_filter_add_pattern(filter, "*.ZIP");
#endif
gtk_file_filter_add_mime_type(filter, "text/xml");
gtk_file_filter_set_name(filter, _("XML file"));