diff options
Diffstat (limited to 'libview')
32 files changed, 142 insertions, 142 deletions
diff --git a/libview/Makefile.am b/libview/Makefile.am index fc1e6205..331e8b32 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -25,7 +25,7 @@ INST_H_FILES = \ $(INST_H_SRC_FILES) \ ev-view-type-builtins.h -headerdir = $(includedir)/evince/$(EV_API_VERSION)/libview +headerdir = $(includedir)/atril/$(EV_API_VERSION)/libview header_DATA = $(INST_H_FILES) libevview_la_SOURCES = \ @@ -50,10 +50,10 @@ libevview_la_SOURCES = \ $(INST_H_FILES) libevview_la_CPPFLAGS = \ - -DEVINCEDATADIR=\"$(pkgdatadir)\" \ - -DG_LOG_DOMAIN=\"EvinceView\" \ + -DATRILDATADIR=\"$(pkgdatadir)\" \ + -DG_LOG_DOMAIN=\"AtrilView\" \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ -I$(top_srcdir) \ -I$(top_srcdir)/libdocument \ -I$(top_builddir) \ @@ -118,9 +118,9 @@ EXTRA_DIST = \ if ENABLE_INTROSPECTION -EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter %.c,$(libevview_la_SOURCES)) +AtrilView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter %.c,$(libevview_la_SOURCES)) $(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \ - $(G_IR_SCANNER) -v --namespace EvinceView \ + $(G_IR_SCANNER) -v --namespace AtrilView \ --add-include-path=$(top_builddir)/libdocument \ --strip-prefix=Ev \ --nsversion=$(EV_API_VERSION) \ @@ -130,23 +130,23 @@ EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter --include=Gdk-2.0 \ --include=GdkPixbuf-2.0 \ --include=Gtk-2.0 \ - --include=EvinceDocument-$(EV_API_VERSION) \ + --include=AtrilDocument-$(EV_API_VERSION) \ --library=evview \ --libtool="$(LIBTOOL)" \ --output $@ \ - --pkg evince-document-$(EV_API_VERSION) \ - --pkg evince-view-$(EV_API_VERSION) \ + --pkg atril-document-$(EV_API_VERSION) \ + --pkg atril-view-$(EV_API_VERSION) \ -I$(top_srcdir) \ -I$(top_builddir) \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(filter %.h,$^) \ $(filter %.c,$^) girdir = $(GIRDIR) -gir_DATA = EvinceView-$(EV_API_VERSION).gir +gir_DATA = AtrilView-$(EV_API_VERSION).gir typelibsdir = $(GIRTYPELIBDIR) -typelibs_DATA = EvinceView-$(EV_API_VERSION).typelib +typelibs_DATA = AtrilView-$(EV_API_VERSION).typelib EXTRA_DIST += $(gir_DATA) CLEANFILES += $(gir_DATA) $(typelibs_DATA) diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c index 6ecfafc6..a3a4522a 100644 --- a/libview/ev-annotation-window.c +++ b/libview/ev-annotation-window.c @@ -1,15 +1,15 @@ /* ev-annotation-window.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos <[email protected]> * Copyright (C) 2007 Iñigo Martinez <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-annotation-window.h b/libview/ev-annotation-window.h index 267a6a61..95fa0373 100644 --- a/libview/ev-annotation-window.h +++ b/libview/ev-annotation-window.h @@ -1,15 +1,15 @@ /* ev-annotation-window.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos <[email protected]> * Copyright (C) 2007 Iñigo Martinez <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-document-model.c b/libview/ev-document-model.c index a15ab5ca..403df466 100644 --- a/libview/ev-document-model.c +++ b/libview/ev-document-model.c @@ -1,14 +1,14 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos * Copyright (C) 2005 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h index 05525ebe..b8bea62c 100644 --- a/libview/ev-document-model.h +++ b/libview/ev-document-model.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -17,15 +17,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_DOCUMENT_MODEL_H__ #define __EV_DOCUMENT_MODEL_H__ #include <glib-object.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/libview/ev-job-scheduler.c b/libview/ev-job-scheduler.c index f874832f..9d028b0a 100644 --- a/libview/ev-job-scheduler.c +++ b/libview/ev-job-scheduler.c @@ -1,14 +1,14 @@ /* ev-job-scheduler.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-job-scheduler.h b/libview/ev-job-scheduler.h index b099a66f..68e9f59b 100644 --- a/libview/ev-job-scheduler.h +++ b/libview/ev-job-scheduler.h @@ -1,14 +1,14 @@ /* ev-job-scheduler.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef EV_JOB_SCHEDULER_H diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c index ffb2d729..d8d3043d 100644 --- a/libview/ev-jobs.c +++ b/libview/ev-jobs.c @@ -1,14 +1,14 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * Copyright (C) 2005 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h index 14b47f78..e6ae4552 100644 --- a/libview/ev-jobs.h +++ b/libview/ev-jobs.h @@ -1,14 +1,14 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * Copyright (C) 2005 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_JOBS_H__ @@ -29,7 +29,7 @@ #include <gtk/gtk.h> #include <cairo.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/libview/ev-loading-window.c b/libview/ev-loading-window.c index e6352fe9..049ce0a1 100644 --- a/libview/ev-loading-window.c +++ b/libview/ev-loading-window.c @@ -1,14 +1,14 @@ /* ev-loading-window.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2010 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-loading-window.h b/libview/ev-loading-window.h index fd8eee61..aac13614 100644 --- a/libview/ev-loading-window.h +++ b/libview/ev-loading-window.h @@ -1,14 +1,14 @@ /* ev-loading-window.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2010 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-page-cache.c b/libview/ev-page-cache.c index c4dc062c..a3a2b6fd 100644 --- a/libview/ev-page-cache.c +++ b/libview/ev-page-cache.c @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h index 7432e44d..8306b56e 100644 --- a/libview/ev-page-cache.h +++ b/libview/ev-page-cache.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2009 Carlos Garcia Campos * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef EV_PAGE_CACHE_H @@ -26,8 +26,8 @@ #include <glib-object.h> #include <gdk/gdk.h> -#include <evince-document.h> -#include <evince-view.h> +#include <atril-document.h> +#include <atril-view.h> G_BEGIN_DECLS diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h index 67c2517e..a20b7518 100644 --- a/libview/ev-pixbuf-cache.h +++ b/libview/ev-pixbuf-cache.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2005 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -21,8 +21,8 @@ * ev-view.c from exploding. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_PIXBUF_CACHE_H__ @@ -30,8 +30,8 @@ #include <gtk/gtk.h> -#include <evince-document.h> -#include <evince-view.h> +#include <atril-document.h> +#include <atril-view.h> G_BEGIN_DECLS diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c index d913c7be..b3db3595 100644 --- a/libview/ev-print-operation.c +++ b/libview/ev-print-operation.c @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -863,7 +863,7 @@ export_print_done (EvPrintOperationExport *export) quoted_filename = g_shell_quote (export->temp_file); quoted_settings_filename = g_shell_quote (print_settings_file); - cmd = g_strdup_printf ("evince-previewer --unlink-tempfile --print-settings %s %s", + cmd = g_strdup_printf ("atril-previewer --unlink-tempfile --print-settings %s %s", quoted_settings_filename, quoted_filename); g_shell_parse_argv (cmd, &argc, &argv, &error); @@ -1166,7 +1166,7 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial file_format = gtk_print_settings_get (print_settings, GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT); - filename = g_strdup_printf ("evince_print.%s.XXXXXX", file_format != NULL ? file_format : ""); + filename = g_strdup_printf ("atril_print.%s.XXXXXX", file_format != NULL ? file_format : ""); export->fd = g_file_open_tmp (filename, &export->temp_file, &error); g_free (filename); if (export->fd <= -1) { @@ -1508,9 +1508,9 @@ typedef enum { EV_SCALE_FIT_TO_PRINTABLE_AREA } EvPrintScale; -#define EV_PRINT_SETTING_PAGE_SCALE "evince-print-setting-page-scale" -#define EV_PRINT_SETTING_AUTOROTATE "evince-print-setting-page-autorotate" -#define EV_PRINT_SETTING_PAGE_SIZE "evince-print-setting-page-size" +#define EV_PRINT_SETTING_PAGE_SCALE "atril-print-setting-page-scale" +#define EV_PRINT_SETTING_AUTOROTATE "atril-print-setting-page-autorotate" +#define EV_PRINT_SETTING_PAGE_SIZE "atril-print-setting-page-size" struct _EvPrintOperationPrint { EvPrintOperation parent; diff --git a/libview/ev-print-operation.h b/libview/ev-print-operation.h index c01a0995..35f14021 100644 --- a/libview/ev-print-operation.h +++ b/libview/ev-print-operation.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_PRINT_OPERATION_H__ @@ -27,7 +27,7 @@ #include <gtk/gtk.h> #include <glib-object.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/libview/ev-stock-icons.c b/libview/ev-stock-icons.c index 47b3943e..7d86fd98 100644 --- a/libview/ev-stock-icons.c +++ b/libview/ev-stock-icons.c @@ -1,17 +1,17 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* Stock icons for Evince +/* Stock icons for Atril * * Copyright (C) 2003 Martin Kretzschmar * * Author: * Martin Kretzschmar <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but WITHOUT + * Atril is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public * License for more details. @@ -32,7 +32,7 @@ typedef struct { char *icon; } EvStockIcon; -/* Evince stock icons */ +/* Atril stock icons */ static const EvStockIcon stock_icons [] = { { EV_STOCK_ZOOM, "zoom" }, { EV_STOCK_ZOOM_PAGE, "zoom-fit-height" }, @@ -65,7 +65,7 @@ ev_stock_icons_add_icons_path_for_screen (GdkScreen *screen) gint n_paths; gint i; - /* GtkIconTheme will then look in Evince custom hicolor dir + /* GtkIconTheme will then look in Atril custom hicolor dir * for icons as well as the standard search paths */ gtk_icon_theme_get_search_path (icon_theme, &path, &n_paths); @@ -97,10 +97,10 @@ ev_stock_icons_init (void) gchar *dir; dir = g_win32_get_package_installation_directory_of_module (NULL); - ev_icons_path = g_build_filename (dir, "share", "evince", "icons", NULL); + ev_icons_path = g_build_filename (dir, "share", "atril", "icons", NULL); g_free (dir); #else - ev_icons_path = g_build_filename (EVINCEDATADIR, "icons", NULL); + ev_icons_path = g_build_filename (ATRILDATADIR, "icons", NULL); #endif factory = gtk_icon_factory_new (); diff --git a/libview/ev-stock-icons.h b/libview/ev-stock-icons.h index 96ec26f6..a5b82603 100644 --- a/libview/ev-stock-icons.h +++ b/libview/ev-stock-icons.h @@ -1,17 +1,17 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* Stock icons for Evince +/* Stock icons for Atril * * Copyright (C) 2003 Martin Kretzschmar * * Author: * Martin Kretzschmar <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but WITHOUT + * Atril is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public * License for more details. @@ -21,8 +21,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_STOCK_ICONS_H__ @@ -32,7 +32,7 @@ G_BEGIN_DECLS -/* Evince stock icons */ +/* Atril stock icons */ #define EV_STOCK_ZOOM "zoom" #define EV_STOCK_ZOOM_PAGE "zoom-fit-height" #define EV_STOCK_ZOOM_WIDTH "zoom-fit-width" diff --git a/libview/ev-timeline.c b/libview/ev-timeline.c index 7491d6cf..5887c73b 100644 --- a/libview/ev-timeline.c +++ b/libview/ev-timeline.c @@ -1,5 +1,5 @@ /* ev-timeline.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2007 Carlos Garnacho <[email protected]> * diff --git a/libview/ev-timeline.h b/libview/ev-timeline.h index e7f9d625..b51e9b33 100644 --- a/libview/ev-timeline.h +++ b/libview/ev-timeline.h @@ -1,5 +1,5 @@ /* ev-timeline.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2007 Carlos Garnacho <[email protected]> * @@ -19,7 +19,7 @@ * Boston, MA 02110-1301, USA. */ -#if !defined (EVINCE_COMPILATION) +#if !defined (ATRIL_COMPILATION) #error "This is a private header." #endif diff --git a/libview/ev-transition-animation.c b/libview/ev-transition-animation.c index a767019b..1e766af3 100644 --- a/libview/ev-transition-animation.c +++ b/libview/ev-transition-animation.c @@ -1,5 +1,5 @@ /* ev-transition-animation.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2007 Carlos Garnacho <[email protected]> * @@ -591,7 +591,7 @@ ev_transition_animation_paint (EvTransitionAnimation *animation, enum_value = g_enum_get_value (g_type_class_peek (EV_TYPE_TRANSITION_EFFECT_TYPE), type); g_warning ("Unimplemented transition animation: '%s', " - "please post a bug report in Evince bugzilla " + "please post a bug report in Atril bugzilla " "(http://bugzilla.mate.org) with a testcase.", enum_value->value_nick); diff --git a/libview/ev-transition-animation.h b/libview/ev-transition-animation.h index 3d17f28d..a0882734 100644 --- a/libview/ev-transition-animation.h +++ b/libview/ev-transition-animation.h @@ -1,5 +1,5 @@ /* ev-transition-animation.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2007 Carlos Garnacho <[email protected]> * @@ -19,14 +19,14 @@ * Boston, MA 02110-1301, USA. */ -#if !defined (EVINCE_COMPILATION) +#if !defined (ATRIL_COMPILATION) #error "This is a private header." #endif #ifndef __EV_TRANSITION_ANIMATION_H__ #define __EV_TRANSITION_ANIMATION_H__ -#include <evince-document.h> +#include <atril-document.h> #include "ev-timeline.h" #include "ev-transition-effect.h" diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c index 9b41c919..9e5ee753 100644 --- a/libview/ev-view-accessible.c +++ b/libview/ev-view-accessible.c @@ -1,14 +1,14 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-view-accessible.h b/libview/ev-view-accessible.h index 9ec7ed27..d9c6b71d 100644 --- a/libview/ev-view-accessible.h +++ b/libview/ev-view-accessible.h @@ -1,14 +1,14 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (EVINCE_COMPILATION) +#if !defined (ATRIL_COMPILATION) #error "This is a private header." #endif diff --git a/libview/ev-view-cursor.c b/libview/ev-view-cursor.c index 930e1f8e..46f4505a 100644 --- a/libview/ev-view-cursor.c +++ b/libview/ev-view-cursor.c @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-view-cursor.h b/libview/ev-view-cursor.h index 9d5e8e53..ad561012 100644 --- a/libview/ev-view-cursor.h +++ b/libview/ev-view-cursor.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_VIEW_CURSOR_H__ diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c index 31556fa2..48386218 100644 --- a/libview/ev-view-presentation.c +++ b/libview/ev-view-presentation.c @@ -1,14 +1,14 @@ /* ev-view-presentation.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2010 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. diff --git a/libview/ev-view-presentation.h b/libview/ev-view-presentation.h index 3aaf6f06..2a0e063a 100644 --- a/libview/ev-view-presentation.h +++ b/libview/ev-view-presentation.h @@ -1,14 +1,14 @@ /* ev-view-presentation.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2010 Carlos Garcia Campos <[email protected]> * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_VIEW_PRESENTATION_H__ @@ -27,7 +27,7 @@ #include <gtk/gtk.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 8ecd12db..5ad133b4 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -1,14 +1,14 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (EVINCE_COMPILATION) +#if !defined (ATRIL_COMPILATION) #error "This is a private header." #endif diff --git a/libview/ev-view-type-builtins.h.template b/libview/ev-view-type-builtins.h.template index c4ba4974..74201145 100644 --- a/libview/ev-view-type-builtins.h.template +++ b/libview/ev-view-type-builtins.h.template @@ -1,7 +1,7 @@ /*** BEGIN file-header ***/ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef EV_VIEW_TYPE_BUILTINS_H diff --git a/libview/ev-view.c b/libview/ev-view.c index b47d6047..583c85a5 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -1,14 +1,14 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -3892,7 +3892,7 @@ ev_view_motion_notify_event (GtkWidget *widget, switch (view->pressed_button) { case 1: - /* For the Evince 0.4.x release, we limit selection to un-rotated + /* For the Atril 0.4.x release, we limit selection to un-rotated * documents only. */ if (view->rotation != 0) diff --git a/libview/ev-view.h b/libview/ev-view.h index ccef4bb4..402b9895 100644 --- a/libview/ev-view.h +++ b/libview/ev-view.h @@ -1,13 +1,13 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Red Hat, Inc * - * Evince is free software; you can redistribute it and/or modify it + * Atril is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * Evince is distributed in the hope that it will be useful, but + * Atril is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) -#error "Only <evince-view.h> can be included directly." +#if !defined (__EV_ATRIL_VIEW_H_INSIDE__) && !defined (ATRIL_COMPILATION) +#error "Only <atril-view.h> can be included directly." #endif #ifndef __EV_VIEW_H__ @@ -26,7 +26,7 @@ #include <gtk/gtk.h> -#include <evince-document.h> +#include <atril-document.h> #include "ev-document-model.h" |