Commit 03201262 authored by Ell's avatar Ell

Issue #1825 - PSD files are loaded as merged by default ...

... depending on UI language

Use gimp_register_file_handler_priority(), added in the previous
commit, to increase the priority of the merged PSD loader, so that
the non-merged loader is always preferred over it (unless
explicitly chosen), regardless of the UI language.
parent b4ac9568
...@@ -134,6 +134,7 @@ query (void) ...@@ -134,6 +134,7 @@ query (void)
G_N_ELEMENTS (load_return_vals), G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals); load_args, load_return_vals);
gimp_register_file_handler_priority (LOAD_MERGED_PROC, +1);
gimp_register_file_handler_mime (LOAD_MERGED_PROC, "image/x-psd"); gimp_register_file_handler_mime (LOAD_MERGED_PROC, "image/x-psd");
gimp_register_magic_load_handler (LOAD_MERGED_PROC, gimp_register_magic_load_handler (LOAD_MERGED_PROC,
"psd", "psd",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment