From 633c08b084b6ab9868e0c0f428903467e536afb9 Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 21 May 2006 09:04:48 +0000 Subject: [PATCH] Add gnome thumbnailer for .sif images. Thanks to Adrian Winchell (SnapSilverlight). git-svn-id: http://svn.voria.com/code@169 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/Makefile.am | 2 +- synfig-studio/trunk/TODO | 1 + synfig-studio/trunk/config/configure.ac | 1 + .../trunk/synfigstudio-thumbnailer.schemas.in | 28 ++++++++++++++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 synfig-studio/trunk/synfigstudio-thumbnailer.schemas.in diff --git a/synfig-studio/trunk/Makefile.am b/synfig-studio/trunk/Makefile.am index 55f18c0..a0ee491 100644 --- a/synfig-studio/trunk/Makefile.am +++ b/synfig-studio/trunk/Makefile.am @@ -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 diff --git a/synfig-studio/trunk/TODO b/synfig-studio/trunk/TODO index 578134e..25c322e 100644 --- a/synfig-studio/trunk/TODO +++ b/synfig-studio/trunk/TODO @@ -1,6 +1,7 @@ ## FIXMEs ## * Install freedesktop.org mime info +* Install gnome thumbnailer ## General ## diff --git a/synfig-studio/trunk/config/configure.ac b/synfig-studio/trunk/config/configure.ac index 7502629..1d25651 100755 --- a/synfig-studio/trunk/config/configure.ac +++ b/synfig-studio/trunk/config/configure.ac @@ -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 index 0000000..f935dcd --- /dev/null +++ b/synfig-studio/trunk/synfigstudio-thumbnailer.schemas.in @@ -0,0 +1,28 @@ + + + + + /schemas/desktop/gnome/thumbnailers/image@sif/enable + /desktop/gnome/thumbnailers/image@sif/enable + synfigstudio + bool + true + + enable + Enable this thumbnailer. + + + + + /schemas/desktop/gnome/thumbnailers/image@sif/command + /desktop/gnome/thumbnailers/image@sif/command + synfigstudio + string + synfig -w %s -h %s %i -o %o -t png --time 0 + + Invoke Synfig as Thumbnailer + Invokes Synfig as a gnome thumbnailer for image/sif files + + + + -- 2.7.4