Mercurial > hg > forks > geeqie
changeset 1999:6776e3ad570a
Add unknown file class to grouping
author | Klaus Ethgen <Klaus@Ethgen.de> |
---|---|
date | Sun, 28 Feb 2010 22:55:37 +0000 |
parents | 323b0a197774 |
children | d2e3de5e848c |
files | src/filefilter.c src/options.c |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filefilter.c Thu Aug 18 22:46:55 2011 +0200 +++ b/src/filefilter.c Sun Feb 28 22:55:37 2010 +0000 @@ -291,6 +291,7 @@ if (g_ascii_strcasecmp(ext, "%image") == 0) file_class = FORMAT_CLASS_IMAGE; else if (g_ascii_strcasecmp(ext, "%raw") == 0) file_class = FORMAT_CLASS_RAWIMAGE; else if (g_ascii_strcasecmp(ext, "%meta") == 0) file_class = FORMAT_CLASS_META; + else if (g_ascii_strcasecmp(ext, "%unknown") == 0) file_class = FORMAT_CLASS_UNKNOWN; if (file_class == -1) {
--- a/src/options.c Thu Aug 18 22:46:55 2011 +0200 +++ b/src/options.c Sun Feb 28 22:55:37 2010 +0000 @@ -149,7 +149,7 @@ } set_default_image_overlay_template_string(&options->image_overlay.template_string); - options->sidecar.ext = g_strdup(".jpg;%raw;.ufraw;.xmp"); + options->sidecar.ext = g_strdup(".jpg;%raw;.ufraw;.xmp;%unknown"); options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH); options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS);