added panorama .pto file to the list of known files
authorVladimir Nadvornik <nadvornik@suse.cz>
Tue, 27 Sep 2011 08:29:36 +0000 (10:29 +0200)
committerVladimir Nadvornik <nadvornik@suse.cz>
Tue, 27 Sep 2011 12:30:09 +0000 (14:30 +0200)
src/editors.c
src/filefilter.c

index cec4b9f..d617521 100644 (file)
@@ -135,6 +135,7 @@ static GList *editor_mime_types_to_extensions(gchar **mime_types)
                {"image/x-xcf",         ".xcf"},
                {"image/x-xpixmap",     ".xpm"},
                {"image/x-x3f",         ".x3f"},
+               {"application/x-ptoptimizer-script",    ".pto"},
                {NULL, NULL}};
        
        gint i, j;
index e9d8c08..80490ac 100644 (file)
@@ -247,6 +247,7 @@ void filter_add_defaults(void)
        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);
+       filter_add_if_missing("pto", "Panorama script file", ".pto", FORMAT_CLASS_META, FALSE, FALSE, TRUE);
 
        /* These are the raw camera formats with embedded jpeg/exif.
         * (see format_raw.c and/or exiv2.cc)