[gnome-utils] font-viewer: Install .thumbnailer file to register gnome-thumbnail-font
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] font-viewer: Install .thumbnailer file to register gnome-thumbnail-font
- Date: Mon, 10 Jan 2011 12:01:42 +0000 (UTC)
commit 9351495eaa6174f05bc6346d253820918a6e58ce
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sat Jan 8 14:20:26 2011 +0100
font-viewer: Install .thumbnailer file to register gnome-thumbnail-font
libgnome-desktop doesn't use GConf anymore.
font-viewer/Makefile.am | 15 +---
font-viewer/fontilus.schemas.in | 109 -----------------------------
font-viewer/gnome-font-viewer.thumbnailer | 5 ++
3 files changed, 8 insertions(+), 121 deletions(-)
---
diff --git a/font-viewer/Makefile.am b/font-viewer/Makefile.am
index 5757064..3ffdbd4 100644
--- a/font-viewer/Makefile.am
+++ b/font-viewer/Makefile.am
@@ -39,16 +39,8 @@ desktopdir = $(datadir)/applications
desktop_in_files = gnome-font-viewer.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-install-data-local: install-gconf-schemas install-desktop-database
-
-if GCONF_SCHEMAS_INSTALL
-install-gconf-schemas:
- if test -z "$(DESTDIR)"; then \
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule fontilus.schemas; \
- fi
-else
-install-gconf-schemas:
-endif
+thumbnailerdir = $(datadir)/thumbnailers
+thumbnailer_DATA = gnome-font-viewer.thumbnailer
install-desktop-database: install-desktopDATA
update-desktop-database $(DESTDIR)$(desktopdir)
@@ -58,13 +50,12 @@ uninstall-local:
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_DIRECTORY_RULE@
- INTLTOOL_SCHEMAS_RULE@
CLEANFILES = $(desktop_in_files) $(desktop_DATA) \
$(schemas_DATA) $(directory_DATA)
EXTRA_DIST = \
- fontilus.schemas.in \
+ gnome-font-viewer.thumbnailer \
gnome-font-viewer.desktop.in.in
-include $(top_srcdir)/git.mk
diff --git a/font-viewer/gnome-font-viewer.thumbnailer b/font-viewer/gnome-font-viewer.thumbnailer
new file mode 100644
index 0000000..edf735f
--- /dev/null
+++ b/font-viewer/gnome-font-viewer.thumbnailer
@@ -0,0 +1,5 @@
+[Thumbnailer Entry]
+TryExec=gnome-thumbnail-font
+Exec=gnome-thumbnail-font %u %o
+MimeType=application/x-font-ttf;application/x-font-pcf;application/x-font-type1;application/x-font-otf;
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]