I just found out that the old specification for this were
"imageext:..." so I attached a new patch to use this instead. Also I
fixed my indention to use compiz style.

Regards,
Patrick

2007/6/13, Patrick Niklaus <[EMAIL PROTECTED]>:
Hi,
I just noticed that the current image loader plugins such as PNG, SVG
and JPEG don't provide a feature as they used to do. This is needed
for conflict checking and feature testing (e.g. by the settings
manager). If I remember correctly this plugins had features before the
metadata port so I did a patch to add them again.
What do you think about that?

Regards,
Patrick


diff --git a/metadata/png.xml.in b/metadata/png.xml.in
index b8e516b..c4ccab3 100644
--- a/metadata/png.xml.in
+++ b/metadata/png.xml.in
@@ -2,5 +2,7 @@
     <plugin name="png">
 	<_short>Png</_short>
 	<_long>Png image loader</_long>
+	<feature>imageext:png</feature>
+	<feature>imageext:image/png</feature>
     </plugin>
 </compiz>
diff --git a/metadata/svg.xml.in b/metadata/svg.xml.in
index 63c53b6..9442ff0 100644
--- a/metadata/svg.xml.in
+++ b/metadata/svg.xml.in
@@ -3,5 +3,7 @@
     <plugin name="svg">
 	<_short>Svg</_short>
 	<_long>Svg image loader</_long>
+	<feature>imageext:svg</feature>
+	<feature>imageext:image/svg</feature>
     </plugin>
 </compiz>
_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to