[Xfce4-commits] <tumbler:master> Add support for OpenRaster images in the ODF thumbnailer (bug #6108).

Jannis Pohlmann noreply at xfce.org
Wed Nov 2 23:16:05 CET 2011


Updating branch refs/heads/master
         to 851a149213c2b3cf2c961e77cc29f18f687d409b (commit)
       from c1f2f2fb7a01a51f1e52a74189c5b94b05054b57 (commit)

commit 851a149213c2b3cf2c961e77cc29f18f687d409b
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Wed Nov 2 23:13:27 2011 +0100

    Add support for OpenRaster images in the ODF thumbnailer (bug #6108).

 NEWS                                               |    1 +
 plugins/odf-thumbnailer/odf-thumbnailer-plugin.c   |    4 ++--
 plugins/odf-thumbnailer/odf-thumbnailer-provider.c |    1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index d78a2d7..b11c995 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
 - Fix generation of video images by starting the pipeline (bug #7996).
 - Fix ownership race conditions when started twice (bug #8001).
 - Add an ODF thumbnailer plugin.
+- Add support for OpenRaster images in the ODF thumbnailer (bug #6108).
 
 0.1.22
 ======
diff --git a/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c b/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c
index 852632e..3463c5a 100644
--- a/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c
+++ b/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c
@@ -61,7 +61,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin)
     }
 
 #ifdef DEBUG
-  g_message (_("Initializing the Tumbler Odf Thumbnailer plugin"));
+  g_message (_("Initializing the Tumbler ODF Thumbnailer plugin"));
 #endif
 
   /* register the types provided by this plugin */
@@ -78,7 +78,7 @@ void
 tumbler_plugin_shutdown (void)
 {
 #ifdef DEBUG
-  g_message (_("Shutting down the Tumbler Odf Thumbnailer plugin"));
+  g_message (_("Shutting down the Tumbler ODF Thumbnailer plugin"));
 #endif
 }
 
diff --git a/plugins/odf-thumbnailer/odf-thumbnailer-provider.c b/plugins/odf-thumbnailer/odf-thumbnailer-provider.c
index d88c437..c1bac4d 100644
--- a/plugins/odf-thumbnailer/odf-thumbnailer-provider.c
+++ b/plugins/odf-thumbnailer/odf-thumbnailer-provider.c
@@ -132,6 +132,7 @@ odf_thumbnailer_provider_get_thumbnailers (TumblerThumbnailerProvider *provider)
     "application/vnd.sun.xml.draw.template",
     "application/vnd.sun.xml.draw",
     "application/vnd.sun.xml.math",
+    "image/openraster",
     NULL
   };
   OdfThumbnailer    *thumbnailer;


More information about the Xfce4-commits mailing list