From cbc818ddfe5d0d0c8509f9474f03a9a209acae18 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 12 Feb 2013 08:07:00 +0200 Subject: Include SDE files on file selector Include SDE files on the file selectors if zip support is enabled. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- gtk-gui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk-gui.c b/gtk-gui.c index 20a2da824..cd9f7579a 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -123,6 +123,10 @@ static GtkFileFilter *setup_filter(void) GtkFileFilter *filter = gtk_file_filter_new(); gtk_file_filter_add_pattern(filter, "*.xml"); gtk_file_filter_add_pattern(filter, "*.XML"); +#ifdef LIBZIP + gtk_file_filter_add_pattern(filter, "*.sde"); + gtk_file_filter_add_pattern(filter, "*.SDE"); +#endif gtk_file_filter_add_mime_type(filter, "text/xml"); gtk_file_filter_set_name(filter, _("XML file")); -- cgit v1.2.3-70-g09d2