[gimp] Bug 768519: File->Open Recent does not show...
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 768519: File->Open Recent does not show...
- Date: Fri, 8 Jul 2016 16:38:54 +0000 (UTC)
commit fede5ccba921aa7bbc7dbbef81185c431afe61b1
Author: Massimo Valentini <mvalentini src gnome org>
Date: Fri Jul 8 18:38:19 2016 +0200
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.
app/file/file-open.c | 2 +-
app/xcf/xcf.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/file/file-open.c b/app/file/file-open.c
index 45a853a..764f7a8 100644
--- a/app/file/file-open.c
+++ b/app/file/file-open.c
@@ -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);
}
diff --git a/app/xcf/xcf.c b/app/xcf/xcf.c
index a2f3449..99b498e 100644
--- a/app/xcf/xcf.c
+++ b/app/xcf/xcf.c
@@ -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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]