Add gnome thumbnailer for .sif images. Thanks to Adrian Winchell (SnapSilverlight).
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 21 May 2006 09:04:48 +0000 (09:04 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 21 May 2006 09:04:48 +0000 (09:04 +0000)
git-svn-id: http://svn.voria.com/code@169 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/Makefile.am
synfig-studio/trunk/TODO
synfig-studio/trunk/config/configure.ac
synfig-studio/trunk/synfigstudio-thumbnailer.schemas.in [new file with mode: 0644]

index 55f18c0..a0ee491 100644 (file)
@@ -6,7 +6,7 @@ MAINTAINERCLEANFILES=config/ltmain.sh config/config.guess config/config.sub conf
 
 SUBDIRS=src images
 
-EXTRA_DIST=COPYING TODO config/subs.m4 macosxbuild.sh win32build.sh win32inst.nsi.in bootstrap config/package config/depcomp config/cxx_macros.m4 @PACKAGE_TARNAME@-@VERSION@.spec config/project.spec.in config/build.cfg config/ETL.m4 ChangeLog.old synfigstudio.xml.in
+EXTRA_DIST=COPYING TODO config/subs.m4 macosxbuild.sh win32build.sh win32inst.nsi.in bootstrap config/package config/depcomp config/cxx_macros.m4 @PACKAGE_TARNAME@-@VERSION@.spec config/project.spec.in config/build.cfg config/ETL.m4 ChangeLog.old synfigstudio.xml.in synfigstudio-thumbnailer.schemas.in
 
 # Desktop entry
 #desktopdir              = $(datadir)/gnome/apps/Graphics
index 578134e..25c322e 100644 (file)
@@ -1,6 +1,7 @@
 ## FIXMEs ##
 
 * Install freedesktop.org mime info
+* Install gnome thumbnailer
 
 ## General ##
 
index 7502629..1d25651 100755 (executable)
@@ -186,6 +186,7 @@ synfigstudio.desktop
 synfigstudio.mime
 synfigstudio.keys
 synfigstudio.xml
+synfigstudio-thumbnailer.schemas
 src/Makefile
 src/gtkmm/Makefile
 src/synfigapp/Makefile
diff --git a/synfig-studio/trunk/synfigstudio-thumbnailer.schemas.in b/synfig-studio/trunk/synfigstudio-thumbnailer.schemas.in
new file mode 100644 (file)
index 0000000..f935dcd
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<gconfschemafile>
+  <schemalist>
+        <schema>
+            <key>/schemas/desktop/gnome/thumbnailers/image@sif/enable</key>
+            <applyto>/desktop/gnome/thumbnailers/image@sif/enable</applyto>
+            <owner>synfigstudio</owner>
+            <type>bool</type>
+            <default>true</default>
+            <locale name="C">
+                <short>enable</short>
+                <long>Enable this thumbnailer.</long>
+            </locale>
+        </schema>
+
+        <schema>
+            <key>/schemas/desktop/gnome/thumbnailers/image@sif/command</key>
+            <applyto>/desktop/gnome/thumbnailers/image@sif/command</applyto>
+            <owner>synfigstudio</owner>
+            <type>string</type>
+            <default>synfig -w %s -h %s %i -o %o -t png --time 0 </default>
+            <locale name="C">
+                <short>Invoke Synfig as Thumbnailer</short>
+                <long>Invokes Synfig as a gnome thumbnailer for image/sif files</long>
+            </locale>
+        </schema>
+  </schemalist>
+</gconfschemafile>