From da7bb154d27d3b872867223a5df60df8f5fb6e7d Mon Sep 17 00:00:00 2001 From: Perberos Date: Wed, 9 Nov 2011 18:44:56 -0300 Subject: renaming evince to atril --- backend/tiff/Makefile.am | 8 ++++---- backend/tiff/tiff-document.h | 2 +- backend/tiff/tiff2ps.c | 4 ++-- backend/tiff/tiffdocument.atril-backend.in | 4 ++++ backend/tiff/tiffdocument.evince-backend.in | 4 ---- 5 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 backend/tiff/tiffdocument.atril-backend.in delete mode 100644 backend/tiff/tiffdocument.evince-backend.in (limited to 'backend/tiff') diff --git a/backend/tiff/Makefile.am b/backend/tiff/Makefile.am index 9f1a00e6..0fc2f83e 100644 --- a/backend/tiff/Makefile.am +++ b/backend/tiff/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) @@ -21,13 +21,13 @@ libtiffdocument_la_LIBADD = \ $(BACKEND_LIBS) \ -ltiff -backend_in_files = tiffdocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = tiffdocument.atril-backend.in +backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend) EXTRA_DIST = $(backend_in_files) CLEANFILES = $(backend_DATA) -@EV_INTLTOOL_EVINCE_BACKEND_RULE@ +@EV_INTLTOOL_ATRIL_BACKEND_RULE@ -include $(top_srcdir)/git.mk diff --git a/backend/tiff/tiff-document.h b/backend/tiff/tiff-document.h index a188f143..19db6158 100644 --- a/backend/tiff/tiff-document.h +++ b/backend/tiff/tiff-document.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS typedef struct _TiffDocument TiffDocument; GType tiff_document_get_type (void) G_GNUC_CONST; -G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module); +G_MODULE_EXPORT GType register_atril_backend (GTypeModule *module); G_END_DECLS diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c index 43a6cb32..eef681e4 100644 --- a/backend/tiff/tiff2ps.c +++ b/backend/tiff/tiff2ps.c @@ -26,7 +26,7 @@ */ /* - * Modified for use as Evince TIFF ps exporter by + * Modified for use as Atril TIFF ps exporter by * Matthew S. Wilson * Modifications Copyright (C) 2005 rpath, Inc. * @@ -628,7 +628,7 @@ PSHead(TIFF2PSContext *ctx, TIFF *tif, uint32 w, uint32 h, t = time(0); fprintf(ctx->fd, "%%!PS-Adobe-3.0%s\n", ctx->generateEPSF ? " EPSF-3.0" : ""); - fprintf(ctx->fd, "%%%%Creator: Evince\n"); + fprintf(ctx->fd, "%%%%Creator: Atril\n"); fprintf(ctx->fd, "%%%%CreationDate: %s", ctime(&t)); fprintf(ctx->fd, "%%%%DocumentData: Clean7Bit\n"); fprintf(ctx->fd, "%%%%Origin: %ld %ld\n", (long) ox, (long) oy); diff --git a/backend/tiff/tiffdocument.atril-backend.in b/backend/tiff/tiffdocument.atril-backend.in new file mode 100644 index 00000000..2866e474 --- /dev/null +++ b/backend/tiff/tiffdocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=tiffdocument +_TypeDescription=Tiff Documents +MimeType=image/tiff diff --git a/backend/tiff/tiffdocument.evince-backend.in b/backend/tiff/tiffdocument.evince-backend.in deleted file mode 100644 index daaa7fd9..00000000 --- a/backend/tiff/tiffdocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=tiffdocument -_TypeDescription=Tiff Documents -MimeType=image/tiff -- cgit v1.2.1