Revision: 1582
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1582&view=rev
Author:   nadvornik
Date:     2009-03-29 16:39:42 +0000 (Sun, 29 Mar 2009)

Log Message:
-----------
added UfRaw ID files to known filetypes

Modified Paths:
--------------
    trunk/src/editors.c
    trunk/src/filefilter.c
    trunk/src/options.c

Modified: trunk/src/editors.c
===================================================================
--- trunk/src/editors.c 2009-03-29 14:26:44 UTC (rev 1581)
+++ trunk/src/editors.c 2009-03-29 16:39:42 UTC (rev 1582)
@@ -97,7 +97,7 @@
        /* FIXME: this should be rewritten to use the shared mime database, as 
soon as we switch to gio */
        
        static const gchar *conv_table[][2] = {
-               {"application/x-ufraw", "%raw"},
+               {"application/x-ufraw", ".ufraw"},
                {"image/*",             "*"},
                {"image/bmp",           ".bmp"},
                {"image/gif",           ".gif"},

Modified: trunk/src/filefilter.c
===================================================================
--- trunk/src/filefilter.c      2009-03-29 14:26:44 UTC (rev 1581)
+++ trunk/src/filefilter.c      2009-03-29 16:39:42 UTC (rev 1582)
@@ -234,6 +234,7 @@
        /* non-image files that might be desirable to show */
        filter_add_if_missing("xmp", "XMP sidecar", ".xmp", FORMAT_CLASS_META, 
TRUE, FALSE, TRUE);
        filter_add_if_missing("gqv", GQ_APPNAME " image collection", 
GQ_COLLECTION_EXT, FORMAT_CLASS_META, FALSE, FALSE, TRUE);
+       filter_add_if_missing("ufraw", "UFRaw ID file", ".ufraw", 
FORMAT_CLASS_META, FALSE, FALSE, TRUE);
 
        /* These are the raw camera formats with embedded jpeg/exif.
         * (see format_raw.c and/or exiv2.cc)

Modified: trunk/src/options.c
===================================================================
--- trunk/src/options.c 2009-03-29 14:26:44 UTC (rev 1581)
+++ trunk/src/options.c 2009-03-29 16:39:42 UTC (rev 1582)
@@ -154,7 +154,7 @@
                }
 
        
set_default_image_overlay_template_string(&options->image_overlay.template_string);
-       options->sidecar.ext = g_strdup(".jpg;%raw;.xmp");
+       options->sidecar.ext = g_strdup(".jpg;%raw;.ufraw;.xmp");
 
        options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH);
        options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to