[gimp] build: remove *.rs file association with SUN Raster images



commit 809e045ead6219919430e5abcc1cf21b996acd96
Author: Mario Daniel Ruiz Saavedra <desiderantes93 gmail com>
Date:   Sun Apr 4 01:22:42 2021 +0000

    build: remove *.rs file association with SUN Raster images
    
    Nowadays .rs is the extension for the Rust programming language files,
    and it's confusing that GIMP is trying to associate with them.
    
    A simple rename of existing .rs images to .ras will allow them to be
    opened again.
    
    Note by reviewer: ideally file association should not rely on filename
    extension, and should be detected properly (i.e. file "magic"). This way
    even extension clash would not be a problem (format would be detected
    whatever the extension used). Unfortunately it's apparently not the case
    on Windows.
    Anyway since nowadays chances to see a Rust code file are likely much
    higher than seeing a Sun Raster image file, let's just accept this patch
    and drop association of `.rs` on Windows.

 build/windows/installer/setup.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build/windows/installer/setup.ini b/build/windows/installer/setup.ini
index 389bd4bc1e..2c261c5e89 100644
--- a/build/windows/installer/setup.ini
+++ b/build/windows/installer/setup.ini
@@ -17,7 +17,7 @@
 16=PostScript, Encapsulated PostScript:PS:EPS
 17=Scalable Vector Graphics:svg
 18=SGI image format:SGI:RGB:BW:ICON
-19=SUN Raster Image:ras:im1:im8:im24:im32:rs
+19=SUN Raster Image:ras:im1:im8:im24:im32
 20=Tagged Image File:tif:tiff
 21=TrueVision Targa:tga
 22=Windows and OS/2 Bitmaps:BMP


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]