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/djvu/Makefile.am | 8 ++++---- backend/djvu/djvu-document.c | 2 +- backend/djvu/djvu-document.h | 2 +- backend/djvu/djvu-links.c | 4 ++-- backend/djvu/djvudocument.atril-backend.in | 4 ++++ backend/djvu/djvudocument.evince-backend.in | 4 ---- 6 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 backend/djvu/djvudocument.atril-backend.in delete mode 100644 backend/djvu/djvudocument.evince-backend.in (limited to 'backend/djvu') diff --git a/backend/djvu/Makefile.am b/backend/djvu/Makefile.am index 6bc9d06e..be255032 100644 --- a/backend/djvu/Makefile.am +++ b/backend/djvu/Makefile.am @@ -3,7 +3,7 @@ INCLUDES = \ -I$(top_srcdir)/libdocument \ -DMATEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(BACKEND_CFLAGS) \ $(DJVU_CFLAGS) \ $(WARN_CFLAGS) \ @@ -26,13 +26,13 @@ libdjvudocument_la_LIBADD = \ $(BACKEND_LIBS) \ $(DJVU_LIBS) -backend_in_files = djvudocument.evince-backend.in -backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend) +backend_in_files = djvudocument.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/djvu/djvu-document.c b/backend/djvu/djvu-document.c index aa0e595d..814503c1 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -618,7 +618,7 @@ djvu_document_init (DjvuDocument *djvu_document) { guint masks[4] = { 0xff0000, 0xff00, 0xff, 0xff000000 }; - djvu_document->d_context = ddjvu_context_create ("Evince"); + djvu_document->d_context = ddjvu_context_create ("Atril"); djvu_document->d_format = ddjvu_format_create (DDJVU_FORMAT_RGBMASK32, 4, masks); ddjvu_format_set_row_order (djvu_document->d_format, 1); diff --git a/backend/djvu/djvu-document.h b/backend/djvu/djvu-document.h index bcb916af..76ec8765 100644 --- a/backend/djvu/djvu-document.h +++ b/backend/djvu/djvu-document.h @@ -31,7 +31,7 @@ typedef struct _DjvuDocument DjvuDocument; GType djvu_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/djvu/djvu-links.c b/backend/djvu/djvu-links.c index d13af0be..c5e72870 100644 --- a/backend/djvu/djvu-links.c +++ b/backend/djvu/djvu-links.c @@ -233,7 +233,7 @@ get_djvu_hyperlink_area (ddjvu_pageinfo_t *page_info, if ((miniexp_car (iter) == miniexp_symbol ("rect") || miniexp_car (iter) == miniexp_symbol ("oval")) && miniexp_length (iter) == 5) { - /* FIXME: get bounding box for (oval) since Evince doesn't support shaped links */ + /* FIXME: get bounding box for (oval) since Atril doesn't support shaped links */ int minx, miny, width, height; iter = miniexp_cdr (iter); @@ -252,7 +252,7 @@ get_djvu_hyperlink_area (ddjvu_pageinfo_t *page_info, } else if (miniexp_car (iter) == miniexp_symbol ("poly") && miniexp_length (iter) >= 5 && miniexp_length (iter) % 2 == 1) { - /* FIXME: get bounding box since Evince doesn't support shaped links */ + /* FIXME: get bounding box since Atril doesn't support shaped links */ int minx = G_MAXINT, miny = G_MAXINT; int maxx = G_MININT, maxy = G_MININT; diff --git a/backend/djvu/djvudocument.atril-backend.in b/backend/djvu/djvudocument.atril-backend.in new file mode 100644 index 00000000..8cbf749a --- /dev/null +++ b/backend/djvu/djvudocument.atril-backend.in @@ -0,0 +1,4 @@ +[Atril Backend] +Module=djvudocument +_TypeDescription=DjVu Documents +MimeType=image/vnd.djvu diff --git a/backend/djvu/djvudocument.evince-backend.in b/backend/djvu/djvudocument.evince-backend.in deleted file mode 100644 index 485af118..00000000 --- a/backend/djvu/djvudocument.evince-backend.in +++ /dev/null @@ -1,4 +0,0 @@ -[Evince Backend] -Module=djvudocument -_TypeDescription=DjVu Documents -MimeType=image/vnd.djvu -- cgit v1.2.1