mirror of https://github.com/GNOME/gimp.git
Bug 768519: File->Open Recent does not show...
... recently opened xcf files be consistent regarding xcf files mime type image/x-xcf is used in the installed gimp.desktop use it everywhere.
This commit is contained in:
parent
954f50a097
commit
fede5ccba9
|
@ -809,5 +809,5 @@ file_open_file_proc_is_import (GimpPlugInProcedure *file_proc)
|
|||
{
|
||||
return !(file_proc &&
|
||||
file_proc->mime_type &&
|
||||
strcmp (file_proc->mime_type, "image/xcf") == 0);
|
||||
strcmp (file_proc->mime_type, "image/x-xcf") == 0);
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ xcf_init (Gimp *gimp)
|
|||
strlen ("gimp-wilber") + 1);
|
||||
gimp_plug_in_procedure_set_image_types (proc, "RGB*, GRAY*, INDEXED*");
|
||||
gimp_plug_in_procedure_set_file_proc (proc, "xcf", "", NULL);
|
||||
gimp_plug_in_procedure_set_mime_type (proc, "image/xcf");
|
||||
gimp_plug_in_procedure_set_mime_type (proc, "image/x-xcf");
|
||||
gimp_plug_in_procedure_set_handles_uri (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "gimp-xcf-save");
|
||||
|
@ -185,7 +185,7 @@ xcf_init (Gimp *gimp)
|
|||
gimp_plug_in_procedure_set_image_types (proc, NULL);
|
||||
gimp_plug_in_procedure_set_file_proc (proc, "xcf", "",
|
||||
"0,string,gimp\\040xcf\\040");
|
||||
gimp_plug_in_procedure_set_mime_type (proc, "image/xcf");
|
||||
gimp_plug_in_procedure_set_mime_type (proc, "image/x-xcf");
|
||||
gimp_plug_in_procedure_set_handles_uri (proc);
|
||||
|
||||
gimp_object_set_static_name (GIMP_OBJECT (procedure), "gimp-xcf-load");
|
||||
|
|
Loading…
Reference in New Issue