mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Change divelogs.de export file suffix from .ZIP to .DLD
As Rainer finished up the export function on divelogs.de, he used DLD as a suffix instead. Suggested-by: Rainer Mohr <mail@divelogs.de> Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9f5a636c6a
commit
c3c3dd84ac
2 changed files with 4 additions and 4 deletions
4
file.c
4
file.c
|
@ -227,8 +227,8 @@ static int open_by_filename(const char *filename, const char *fmt, struct memblo
|
|||
if (!strcasecmp(fmt, "SDE"))
|
||||
return try_to_open_zip(filename, mem, error);
|
||||
|
||||
/* divelogs.de files: divelogsData.zip */
|
||||
if (!strcasecmp(fmt, "ZIP"))
|
||||
/* divelogs.de files: DLD */
|
||||
if (!strcasecmp(fmt, "DLD"))
|
||||
return try_to_open_zip(filename, mem, error);
|
||||
|
||||
/* Truly nasty intentionally obfuscated Cochran Anal software */
|
||||
|
|
|
@ -126,8 +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");
|
||||
gtk_file_filter_add_pattern(filter, "*.dld");
|
||||
gtk_file_filter_add_pattern(filter, "*.DLD");
|
||||
#endif
|
||||
gtk_file_filter_add_mime_type(filter, "text/xml");
|
||||
gtk_file_filter_set_name(filter, _("XML file"));
|
||||
|
|
Loading…
Reference in a new issue