summaryrefslogtreecommitdiff
path: root/backend/djvu
diff options
context:
space:
mode:
Diffstat (limited to 'backend/djvu')
-rw-r--r--backend/djvu/Makefile.am8
-rw-r--r--backend/djvu/djvu-document.c2
-rw-r--r--backend/djvu/djvu-document.h2
-rw-r--r--backend/djvu/djvu-links.c4
-rw-r--r--backend/djvu/djvudocument.atril-backend.in (renamed from backend/djvu/djvudocument.evince-backend.in)2
5 files changed, 9 insertions, 9 deletions
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.evince-backend.in b/backend/djvu/djvudocument.atril-backend.in
index 485af118..8cbf749a 100644
--- a/backend/djvu/djvudocument.evince-backend.in
+++ b/backend/djvu/djvudocument.atril-backend.in
@@ -1,4 +1,4 @@
-[Evince Backend]
+[Atril Backend]
Module=djvudocument
_TypeDescription=DjVu Documents
MimeType=image/vnd.djvu