[gimp] plug-ins: Register .data as extension for raw data loader



commit f6eed71a5c4bcd42253db17fdcd3e990684a8f7b
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Aug 22 10:41:03 2009 +0200

    plug-ins: Register .data as extension for raw data loader
    
    In order to allow raw data files to be loaded without the need to
    explicitly select the file type, make the raw data loader use the
    extension ".data".

 plug-ins/common/file-raw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-raw.c b/plug-ins/common/file-raw.c
index 83d044e..a64efcb 100644
--- a/plug-ins/common/file-raw.c
+++ b/plug-ins/common/file-raw.c
@@ -190,7 +190,7 @@ query (void)
                           G_N_ELEMENTS (load_return_vals),
                           load_args, load_return_vals);
 
-  gimp_register_load_handler (LOAD_PROC, "", "");
+  gimp_register_load_handler (LOAD_PROC, "data", "");
 
   gimp_install_procedure (SAVE_PROC,
                           "Dump images to disk in raw format",



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