diff options
Diffstat (limited to 'shell')
45 files changed, 224 insertions, 224 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am index e80c9986..0e327912 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,5 +1,5 @@ INCLUDES= \ - -DEVINCEDATADIR=\"$(pkgdatadir)\" \ + -DATRILDATADIR=\"$(pkgdatadir)\" \ -DMATEDATADIR=\"$(datadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ @@ -17,19 +17,19 @@ INCLUDES= \ -DMATEICONDIR=\""$(datadir)/pixmaps"\" \ -DBINDIR=\""$(bindir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(SHELL_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) -bin_PROGRAMS=evince +bin_PROGRAMS=atril -libexec_PROGRAMS=evince-convert-metadata +libexec_PROGRAMS=atril-convert-metadata if ENABLE_DBUS -libexec_PROGRAMS += evinced +libexec_PROGRAMS += atrild endif -evince_SOURCES= \ +atril_SOURCES= \ eggfindbar.c \ eggfindbar.h \ ev-annotation-properties-dialog.h \ @@ -87,19 +87,19 @@ evince_SOURCES= \ main.c if ENABLE_DBUS -evince_SOURCES += \ +atril_SOURCES += \ ev-media-player-keys.c \ ev-media-player-keys.h endif -evince_LDFLAGS = $(AM_LDFLAGS) +atril_LDFLAGS = $(AM_LDFLAGS) if PLATFORM_WIN32 -evince_LDFLAGS += -mwindows +atril_LDFLAGS += -mwindows endif -evince_LDADD= \ +atril_LDADD= \ $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \ $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \ $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la \ @@ -112,41 +112,41 @@ evince_LDADD= \ $(SHELL_LIBS) if PLATFORM_WIN32 -evince_LDADD += evince-icon.o +atril_LDADD += atril-icon.o -evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico - $(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o +atril-icon.o: $(srcdir)/atril-icon.rc $(top_srcdir)/data/atril.ico + $(WINDRES) $(srcdir)/atril-icon.rc -I $(top_srcdir)/data atril-icon.o endif BUILT_SOURCES = ev-marshal.h ev-marshal.c -evince_convert_metadata_SOURCES= \ +atril_convert_metadata_SOURCES= \ ev-convert-metadata.c -evince_convert_metadata_LDADD= \ +atril_convert_metadata_LDADD= \ $(SHELL_LIBS) if ENABLE_DBUS -evinced_SOURCES= \ +atrild_SOURCES= \ ev-daemon.c -evinced_CFLAGS= \ - -DEVINCEDATADIR=\"$(pkgdatadir)\" \ +atrild_CFLAGS= \ + -DATRILDATADIR=\"$(pkgdatadir)\" \ -DMATEDATADIR=\"$(datadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DEVINCE_COMPILATION \ + -DATRIL_COMPILATION \ $(EV_DAEMON_CFLAGS) \ $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED) -evinced_LDADD= \ +atrild_LDADD= \ $(EV_DAEMON_LIBS) endif EXTRA_DIST = ev-marshal.list \ - evince-icon.rc + atril-icon.rc ev-marshal.h: $(srcdir)/ev-marshal.list $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h diff --git a/shell/atril-icon.rc b/shell/atril-icon.rc new file mode 100644 index 00000000..c1492444 --- /dev/null +++ b/shell/atril-icon.rc @@ -0,0 +1 @@ +1 ICON "atril.ico" diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c index 8828eba4..d31a3018 100644 --- a/shell/ev-annotation-properties-dialog.c +++ b/shell/ev-annotation-properties-dialog.c @@ -1,14 +1,14 @@ /* ev-annotation-properties-dialog.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/shell/ev-annotation-properties-dialog.h b/shell/ev-annotation-properties-dialog.h index eee533e1..c945c293 100644 --- a/shell/ev-annotation-properties-dialog.h +++ b/shell/ev-annotation-properties-dialog.h @@ -1,14 +1,14 @@ /* ev-annotation-properties-dialog.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. @@ -24,7 +24,7 @@ #include <gtk/gtk.h> #include <glib-object.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/shell/ev-application.c b/shell/ev-application.c index af70617a..697ab083 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -1,4 +1,4 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 Martin Kretzschmar * Copyright © 2010 Christian Persch @@ -6,12 +6,12 @@ * 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 + * 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. @@ -83,12 +83,12 @@ static EvApplication *instance; G_DEFINE_TYPE (EvApplication, ev_application, G_TYPE_OBJECT); #ifdef ENABLE_DBUS -#define APPLICATION_DBUS_OBJECT_PATH "/org/mate/evince/Evince" -#define APPLICATION_DBUS_INTERFACE "org.mate.evince.Application" +#define APPLICATION_DBUS_OBJECT_PATH "/org/mate/atril/Atril" +#define APPLICATION_DBUS_INTERFACE "org.mate.atril.Application" -#define EVINCE_DAEMON_SERVICE "org.mate.evince.Daemon" -#define EVINCE_DAEMON_OBJECT_PATH "/org/mate/evince/Daemon" -#define EVINCE_DAEMON_INTERFACE "org.mate.evince.Daemon" +#define ATRIL_DAEMON_SERVICE "org.mate.atril.Daemon" +#define ATRIL_DAEMON_OBJECT_PATH "/org/mate/atril/Daemon" +#define ATRIL_DAEMON_INTERFACE "org.mate.atril.Daemon" #endif static const gchar *userdir = NULL; @@ -142,7 +142,7 @@ ev_application_load_session (EvApplication *application) #endif /* WITH_SMCLIENT */ return FALSE; - uri = g_key_file_get_string (state_file, "Evince", "uri", NULL); + uri = g_key_file_get_string (state_file, "Atril", "uri", NULL); if (!uri) return FALSE; @@ -166,7 +166,7 @@ smclient_save_state_cb (EggSMClient *client, if (!application->uri) return; - g_key_file_set_string (state_file, "Evince", "uri", application->uri); + g_key_file_set_string (state_file, "Atril", "uri", application->uri); } static void @@ -253,11 +253,11 @@ ev_spawn (const char *uri, gchar *dir; dir = g_win32_get_package_installation_directory_of_module (NULL); - argv[arg++] = g_build_filename (dir, "bin", "evince", NULL); + argv[arg++] = g_build_filename (dir, "bin", "atril", NULL); g_free (dir); } #else - argv[arg++] = g_build_filename (BINDIR, "evince", NULL); + argv[arg++] = g_build_filename (BINDIR, "atril", NULL); #endif /* Page label */ @@ -298,7 +298,7 @@ ev_spawn (const char *uri, GINT_TO_POINTER(timestamp), NULL, &error); if (!res) { - g_warning ("Error launching evince %s: %s\n", uri, error->message); + g_warning ("Error launching atril %s: %s\n", uri, error->message); g_error_free (error); } @@ -500,7 +500,7 @@ on_register_uri_cb (GObject *source_object, * @search_string: * @timestamp: * - * Registers @uri with evince-daemon. + * Registers @uri with atril-daemon. * */ static void @@ -544,9 +544,9 @@ ev_application_register_uri (EvApplication *application, data->timestamp = timestamp; g_dbus_connection_call (application->connection, - EVINCE_DAEMON_SERVICE, - EVINCE_DAEMON_OBJECT_PATH, - EVINCE_DAEMON_INTERFACE, + ATRIL_DAEMON_SERVICE, + ATRIL_DAEMON_OBJECT_PATH, + ATRIL_DAEMON_INTERFACE, "RegisterDocument", g_variant_new ("(s)", uri), G_VARIANT_TYPE ("(s)"), @@ -572,9 +572,9 @@ ev_application_unregister_uri (EvApplication *application, */ value = g_dbus_connection_call_sync ( application->connection, - EVINCE_DAEMON_SERVICE, - EVINCE_DAEMON_OBJECT_PATH, - EVINCE_DAEMON_INTERFACE, + ATRIL_DAEMON_SERVICE, + ATRIL_DAEMON_OBJECT_PATH, + ATRIL_DAEMON_INTERFACE, "UnregisterDocument", g_variant_new ("(s)", uri), NULL, @@ -672,7 +672,7 @@ ev_application_open_uri_at_dest (EvApplication *application, g_return_if_fail (uri != NULL); if (application->uri && strcmp (application->uri, uri) != 0) { - /* spawn a new evince process */ + /* spawn a new atril process */ ev_spawn (uri, screen, dest, mode, search_string, timestamp); return; } else if (!application->uri) { @@ -815,7 +815,7 @@ method_call_cb (GDBusConnection *connection, static const char introspection_xml[] = "<node>" - "<interface name='org.mate.evince.Application'>" + "<interface name='org.mate.atril.Application'>" "<method name='Reload'>" "<arg type='a{sv}' name='args' direction='in'/>" "<arg type='u' name='timestamp' direction='in'/>" @@ -859,11 +859,11 @@ ev_application_accel_map_save (EvApplication *application) if (userdir) { accel_map_file = g_build_filename (userdir, "accels", - "evince", NULL); + "atril", NULL); } else { accel_map_file = g_build_filename (g_get_home_dir (), ".mate2", "accels", - "evince", NULL); + "atril", NULL); } tmp_filename = g_strdup_printf ("%s.XXXXXX", accel_map_file); @@ -894,11 +894,11 @@ ev_application_accel_map_load (EvApplication *application) if (userdir) { accel_map_file = g_build_filename (userdir, "accels", - "evince", NULL); + "atril", NULL); } else { accel_map_file = g_build_filename (g_get_home_dir (), ".mate2", "accels", - "evince", NULL); + "atril", NULL); } gtk_accel_map_load (accel_map_file); @@ -969,11 +969,11 @@ ev_application_init (EvApplication *ev_application) userdir = g_getenv ("MATE22_USER_DIR"); if (userdir) - ev_application->dot_dir = g_build_filename (userdir, "evince", NULL); + ev_application->dot_dir = g_build_filename (userdir, "atril", NULL); else ev_application->dot_dir = g_build_filename (g_get_home_dir (), ".mate2", - "evince", + "atril", NULL); #ifdef G_OS_WIN32 @@ -981,11 +981,11 @@ ev_application_init (EvApplication *ev_application) gchar *dir; dir = g_win32_get_package_installation_directory_of_module (NULL); - ev_application->data_dir = g_build_filename (dir, "share", "evince", NULL); + ev_application->data_dir = g_build_filename (dir, "share", "atril", NULL); g_free (dir); } #else - ev_application->data_dir = g_strdup (EVINCEDATADIR); + ev_application->data_dir = g_strdup (ATRILDATADIR); #endif ev_application_init_session (ev_application); diff --git a/shell/ev-application.h b/shell/ev-application.h index 1e21ebde..22369253 100644 --- a/shell/ev-application.h +++ b/shell/ev-application.h @@ -1,16 +1,16 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 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 + * 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/shell/ev-convert-metadata.c b/shell/ev-convert-metadata.c index 485ce133..270206b1 100644 --- a/shell/ev-convert-metadata.c +++ b/shell/ev-convert-metadata.c @@ -1,14 +1,14 @@ /* ev-convert-metadata.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]> * - * 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. @@ -27,7 +27,7 @@ #include <string.h> #include <libxml/tree.h> -#define EV_METADATA_NAMESPACE "metadata::evince" +#define EV_METADATA_NAMESPACE "metadata::atril" typedef struct { xmlNodePtr cur; @@ -184,7 +184,7 @@ show_progress_dialog (ConvertData *data) gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); gtk_widget_show (label); - label = gtk_label_new (_("The metadata format used by Evince " + label = gtk_label_new (_("The metadata format used by Atril " "has changed, and hence it needs to be migrated. " "If the migration is cancelled the metadata " "storage will not work.")); @@ -240,7 +240,7 @@ convert_metadata_file (const gchar *filename) } if (xmlStrcmp (cur->name, (const xmlChar *) "metadata")) { - g_printerr ("File %s is not a valid evince metadata file\n", filename); + g_printerr ("File %s is not a valid atril metadata file\n", filename); xmlFreeDoc (doc); return FALSE; } @@ -287,7 +287,7 @@ gint main (gint argc, gchar **argv) { if (argc != 2) { - g_printerr ("%s\n", "Usage: evince-convert-metadata FILE"); + g_printerr ("%s\n", "Usage: atril-convert-metadata FILE"); return 1; } diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c index 53bd30ea..a633f85a 100644 --- a/shell/ev-daemon.c +++ b/shell/ev-daemon.c @@ -1,15 +1,15 @@ /* ev-metadata.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 © 2010 Christian Persch * - * 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. @@ -31,11 +31,11 @@ #include <fcntl.h> #include <unistd.h> -#define EV_DBUS_DAEMON_NAME "org.mate.evince.Daemon" -#define EV_DBUS_DAEMON_INTERFACE_NAME "org.mate.evince.Daemon" -#define EV_DBUS_DAEMON_OBJECT_PATH "/org/mate/evince/Daemon" +#define EV_DBUS_DAEMON_NAME "org.mate.atril.Daemon" +#define EV_DBUS_DAEMON_INTERFACE_NAME "org.mate.atril.Daemon" +#define EV_DBUS_DAEMON_OBJECT_PATH "/org/mate/atril/Daemon" -#define EV_DBUS_WINDOW_INTERFACE_NAME "org.mate.evince.Window" +#define EV_DBUS_WINDOW_INTERFACE_NAME "org.mate.atril.Window" #define DAEMON_TIMEOUT (30) /* seconds */ @@ -143,13 +143,13 @@ convert_metadata (const gchar *metadata) } if (!supported) { g_warning ("GVFS metadata not supported. " - "Evince will run without metadata support.\n"); + "Atril will run without metadata support.\n"); g_object_unref (file); return FALSE; } g_object_unref (file); - argv[0] = g_build_filename (LIBEXECDIR, "evince-convert-metadata", NULL); + argv[0] = g_build_filename (LIBEXECDIR, "atril-convert-metadata", NULL); argv[1] = (char *) metadata; argv[2] = NULL; @@ -176,11 +176,11 @@ ev_migrate_metadata (void) userdir = g_getenv ("MATE22_USER_DIR"); if (userdir) { - dot_dir = g_build_filename (userdir, "evince", NULL); + dot_dir = g_build_filename (userdir, "atril", NULL); } else { dot_dir = g_build_filename (g_get_home_dir (), ".mate2", - "evince", + "atril", NULL); } @@ -210,21 +210,21 @@ ev_migrate_metadata (void) } static gboolean -spawn_evince (const gchar *uri) +spawn_atril (const gchar *uri) { gchar *argv[3]; gboolean retval; GError *error = NULL; /* TODO Check that the uri exists */ - argv[0] = g_build_filename (BINDIR, "evince", NULL); + argv[0] = g_build_filename (BINDIR, "atril", NULL); argv[1] = (gchar *) uri; argv[2] = NULL; retval = g_spawn_async (NULL /* wd */, argv, NULL /* env */, 0, NULL, NULL, NULL, &error); if (!retval) { - g_printerr ("Error spawning evince for uri %s: %s\n", uri, error->message); + g_printerr ("Error spawning atril for uri %s: %s\n", uri, error->message); g_error_free (error); } g_free (argv[0]); @@ -417,11 +417,11 @@ method_call_cb (GDBusConnection *connection, if (uri_invocations == NULL) { /* Only spawn once. */ - ret_val = spawn_evince (uri); + ret_val = spawn_atril (uri); } if (ret_val) { - /* Only defer DBUS answer if evince was succesfully spawned */ + /* Only defer DBUS answer if atril was succesfully spawned */ uri_invocations = g_list_prepend (uri_invocations, invocation); g_hash_table_insert (pending_invocations, g_strdup (uri), @@ -438,7 +438,7 @@ method_call_cb (GDBusConnection *connection, static const char introspection_xml[] = "<node>" - "<interface name='org.mate.evince.Daemon'>" + "<interface name='org.mate.atril.Daemon'>" "<method name='RegisterDocument'>" "<arg type='s' name='uri' direction='in'/>" "<arg type='s' name='owner' direction='out'/>" @@ -518,7 +518,7 @@ main (gint argc, gchar **argv) GMainLoop *loop; guint owner_id; - g_set_prgname ("evince-daemon"); + g_set_prgname ("atril-daemon"); g_type_init (); diff --git a/shell/ev-file-monitor.c b/shell/ev-file-monitor.c index 3de0ce01..9a04b71a 100644 --- a/shell/ev-file-monitor.c +++ b/shell/ev-file-monitor.c @@ -1,14 +1,14 @@ /* ev-file-monitor.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/shell/ev-file-monitor.h b/shell/ev-file-monitor.h index 6656671f..817afbe3 100644 --- a/shell/ev-file-monitor.h +++ b/shell/ev-file-monitor.h @@ -1,14 +1,14 @@ /* ev-file-monitor.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. diff --git a/shell/ev-keyring.c b/shell/ev-keyring.c index f7d935f0..ac1d33a2 100644 --- a/shell/ev-keyring.c +++ b/shell/ev-keyring.c @@ -1,14 +1,14 @@ /* ev-keyring.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/shell/ev-keyring.h b/shell/ev-keyring.h index d1cc5226..0625ba3f 100644 --- a/shell/ev-keyring.h +++ b/shell/ev-keyring.h @@ -1,14 +1,14 @@ /* ev-keyring.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. diff --git a/shell/ev-media-player-keys.c b/shell/ev-media-player-keys.c index f3237873..7264d765 100644 --- a/shell/ev-media-player-keys.c +++ b/shell/ev-media-player-keys.c @@ -106,7 +106,7 @@ ev_media_player_keys_grab_keys (EvMediaPlayerKeys *keys) */ g_dbus_proxy_call (keys->proxy, "GrabMediaPlayerKeys", - g_variant_new ("(su)", "Evince", 1), + g_variant_new ("(su)", "Atril", 1), G_DBUS_CALL_FLAGS_NO_AUTO_START, -1, NULL, NULL, NULL); @@ -120,7 +120,7 @@ ev_media_player_keys_release_keys (EvMediaPlayerKeys *keys) g_dbus_proxy_call (keys->proxy, "ReleaseMediaPlayerKeys", - g_variant_new ("(s)", "Evince"), + g_variant_new ("(s)", "Atril"), G_DBUS_CALL_FLAGS_NO_AUTO_START, -1, NULL, NULL, NULL); @@ -146,7 +146,7 @@ media_player_key_pressed_cb (GDBusProxy *proxy, g_variant_get (parameters, "(&s&s)", &application, &key); - if (strcmp ("Evince", application) == 0) { + if (strcmp ("Atril", application) == 0) { g_signal_emit (user_data, signals[KEY_PRESSED], 0, key); } } diff --git a/shell/ev-message-area.c b/shell/ev-message-area.c index 3530f4a4..355e70fa 100644 --- a/shell/ev-message-area.c +++ b/shell/ev-message-area.c @@ -1,17 +1,17 @@ /* ev-message-area.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 Garcia Campos * * Author: * 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/shell/ev-message-area.h b/shell/ev-message-area.h index 0fc7dd8c..796a7453 100644 --- a/shell/ev-message-area.h +++ b/shell/ev-message-area.h @@ -1,17 +1,17 @@ /* ev-message-area.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 Garcia Campos * * Author: * 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/shell/ev-metadata.c b/shell/ev-metadata.c index 9056b2fd..da393e1b 100644 --- a/shell/ev-metadata.c +++ b/shell/ev-metadata.c @@ -1,14 +1,14 @@ /* ev-metadata.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]> * - * 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. @@ -36,7 +36,7 @@ struct _EvMetadataClass { G_DEFINE_TYPE (EvMetadata, ev_metadata, G_TYPE_OBJECT) -#define EV_METADATA_NAMESPACE "metadata::evince" +#define EV_METADATA_NAMESPACE "metadata::atril" static void ev_metadata_finalize (GObject *object) diff --git a/shell/ev-metadata.h b/shell/ev-metadata.h index 69468c80..db7480a7 100644 --- a/shell/ev-metadata.h +++ b/shell/ev-metadata.h @@ -1,14 +1,14 @@ /* ev-metadata.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]> * - * 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/shell/ev-password-view.c b/shell/ev-password-view.c index 8a1162ac..73ebbdef 100644 --- a/shell/ev-password-view.c +++ b/shell/ev-password-view.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/shell/ev-password-view.h b/shell/ev-password-view.h index a98e40c2..05a4a445 100644 --- a/shell/ev-password-view.h +++ b/shell/ev-password-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) 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/shell/ev-progress-message-area.c b/shell/ev-progress-message-area.c index a0b74b0a..14b19699 100644 --- a/shell/ev-progress-message-area.c +++ b/shell/ev-progress-message-area.c @@ -1,14 +1,14 @@ /* ev-progress-message-area.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/shell/ev-progress-message-area.h b/shell/ev-progress-message-area.h index ff96d0f7..e628df45 100644 --- a/shell/ev-progress-message-area.h +++ b/shell/ev-progress-message-area.h @@ -1,14 +1,14 @@ /* ev-progress-message-area.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. diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index 722c298a..f520a733 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.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) 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/shell/ev-properties-dialog.h b/shell/ev-properties-dialog.h index 9484627c..fb79a81d 100644 --- a/shell/ev-properties-dialog.h +++ b/shell/ev-properties-dialog.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) 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/shell/ev-properties-fonts.c b/shell/ev-properties-fonts.c index 8480ebd2..ac3c2c4e 100644 --- a/shell/ev-properties-fonts.c +++ b/shell/ev-properties-fonts.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) 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/shell/ev-properties-fonts.h b/shell/ev-properties-fonts.h index 9f6ec0cd..e0e22823 100644 --- a/shell/ev-properties-fonts.h +++ b/shell/ev-properties-fonts.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) 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/shell/ev-properties-license.c b/shell/ev-properties-license.c index 1216df45..5e41d893 100644 --- a/shell/ev-properties-license.c +++ b/shell/ev-properties-license.c @@ -1,15 +1,15 @@ /* -*- 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) 2009 Juanjo Marín <[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/shell/ev-properties-license.h b/shell/ev-properties-license.h index 7b38fa55..18489cad 100644 --- a/shell/ev-properties-license.h +++ b/shell/ev-properties-license.h @@ -1,15 +1,15 @@ /* -*- 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) 2009 Juanjo Marín <[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. @@ -24,7 +24,7 @@ #include <gtk/gtk.h> -#include <evince-document.h> +#include <atril-document.h> G_BEGIN_DECLS diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c index 5b8b8309..7869abb6 100644 --- a/shell/ev-sidebar-annotations.c +++ b/shell/ev-sidebar-annotations.c @@ -1,14 +1,14 @@ /* ev-sidebar-annotations.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/shell/ev-sidebar-annotations.h b/shell/ev-sidebar-annotations.h index 6160868d..63f96108 100644 --- a/shell/ev-sidebar-annotations.h +++ b/shell/ev-sidebar-annotations.h @@ -1,14 +1,14 @@ /* ev-sidebar-annotations.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/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c index 273b784f..b26711cb 100644 --- a/shell/ev-sidebar-attachments.c +++ b/shell/ev-sidebar-attachments.c @@ -1,17 +1,17 @@ /* ev-sidebar-attachments.c - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2006 Carlos Garcia Campos * * Author: * 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/shell/ev-sidebar-attachments.h b/shell/ev-sidebar-attachments.h index 35e2a324..f6766943 100644 --- a/shell/ev-sidebar-attachments.h +++ b/shell/ev-sidebar-attachments.h @@ -1,17 +1,17 @@ /* ev-sidebar-attachments.h - * this file is part of evince, a mate document viewer + * this file is part of atril, a mate document viewer * * Copyright (C) 2006 Carlos Garcia Campos * * Author: * 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/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c index 686cacaa..8b43cc53 100644 --- a/shell/ev-sidebar-layers.c +++ b/shell/ev-sidebar-layers.c @@ -1,14 +1,14 @@ /* ev-sidebar-layers.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/shell/ev-sidebar-layers.h b/shell/ev-sidebar-layers.h index 573dc277..be861500 100644 --- a/shell/ev-sidebar-layers.h +++ b/shell/ev-sidebar-layers.h @@ -1,14 +1,14 @@ /* ev-sidebar-layers.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. diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c index 402f3be7..b14e5a36 100644 --- a/shell/ev-sidebar-links.c +++ b/shell/ev-sidebar-links.c @@ -1,16 +1,16 @@ -/* 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. * * Author: * Jonathan Blandford <[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/shell/ev-sidebar-links.h b/shell/ev-sidebar-links.h index dd4acce6..7d11fd00 100644 --- a/shell/ev-sidebar-links.h +++ b/shell/ev-sidebar-links.h @@ -1,17 +1,17 @@ /* ev-sidebar-links.h - * 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. * * Author: * Jonathan Blandford <[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/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 65fb3141..901bdade 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -1,4 +1,4 @@ -/* 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. * Copyright (C) 2004, 2005 Anders Carlsson <[email protected]> @@ -7,12 +7,12 @@ * Jonathan Blandford <[email protected]> * Anders Carlsson <[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/shell/ev-sidebar-thumbnails.h b/shell/ev-sidebar-thumbnails.h index 0e312469..218b0794 100644 --- a/shell/ev-sidebar-thumbnails.h +++ b/shell/ev-sidebar-thumbnails.h @@ -1,17 +1,17 @@ /* ev-sidebar-thumbnails.h - * 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. * * Author: * Jonathan Blandford <[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/shell/ev-sidebar.c b/shell/ev-sidebar.c index cf7b5f84..e9d0f75a 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -1,16 +1,16 @@ -/* 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. * * Author: * Jonathan Blandford <[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/shell/ev-sidebar.h b/shell/ev-sidebar.h index 68440221..407d7637 100644 --- a/shell/ev-sidebar.h +++ b/shell/ev-sidebar.h @@ -1,17 +1,17 @@ /* ev-sidebar.h - * 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. * * Author: * Jonathan Blandford <[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/shell/ev-window-title.c b/shell/ev-window-title.c index ad2837a4..612dae5e 100644 --- a/shell/ev-window-title.c +++ b/shell/ev-window-title.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) 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/shell/ev-window-title.h b/shell/ev-window-title.h index 8002ee35..77b27ac9 100644 --- a/shell/ev-window-title.h +++ b/shell/ev-window-title.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. diff --git a/shell/ev-window.c b/shell/ev-window.c index 088ac95b..30b97f4a 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1,5 +1,5 @@ /* -*- 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) 2009 Juanjo Marín <[email protected]> * Copyright (C) 2008 Carlos Garcia Campos @@ -11,12 +11,12 @@ * 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 + * 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. @@ -239,11 +239,11 @@ struct _EvWindowPrivate { #define MATECONF_LOCKDOWN_PRINT_SETUP "/desktop/mate/lockdown/disable_print_setup" #ifdef ENABLE_DBUS -#define EV_WINDOW_DBUS_OBJECT_PATH "/org/mate/evince/Window/%d" -#define EV_WINDOW_DBUS_INTERFACE "org.mate.evince.Window" +#define EV_WINDOW_DBUS_OBJECT_PATH "/org/mate/atril/Window/%d" +#define EV_WINDOW_DBUS_INTERFACE "org.mate.atril.Window" #endif -#define GS_SCHEMA_NAME "org.mate.Evince" +#define GS_SCHEMA_NAME "org.mate.Atril" #define GS_OVERRIDE_RESTRICTIONS "override-restrictions" #define SIDEBAR_DEFAULT_SIZE 132 @@ -257,7 +257,7 @@ struct _EvWindowPrivate { #define EV_PRINT_SETTINGS_GROUP "Print Settings" #define EV_PAGE_SETUP_GROUP "Page Setup" -#define EV_TOOLBARS_FILENAME "evince-toolbar.xml" +#define EV_TOOLBARS_FILENAME "atril-toolbar.xml" #define MIN_SCALE 0.05409 #define PAGE_CACHE_SIZE 52428800 /* 50MB */ @@ -2433,10 +2433,10 @@ static gint compare_recent_items (GtkRecentInfo *a, GtkRecentInfo *b) { gboolean has_ev_a, has_ev_b; - const gchar *evince = g_get_application_name (); + const gchar *atril = g_get_application_name (); - has_ev_a = gtk_recent_info_has_application (a, evince); - has_ev_b = gtk_recent_info_has_application (b, evince); + has_ev_a = gtk_recent_info_has_application (a, atril); + has_ev_b = gtk_recent_info_has_application (b, atril); if (has_ev_a && has_ev_b) { time_t time_a, time_b; @@ -2518,7 +2518,7 @@ ev_window_setup_recent (EvWindow *ev_window) { GList *items, *l; guint n_items = 0; - const gchar *evince = g_get_application_name (); + const gchar *atril = g_get_application_name (); static guint i = 0; if (ev_window->priv->recent_ui_id > 0) { @@ -2554,7 +2554,7 @@ ev_window_setup_recent (EvWindow *ev_window) info = (GtkRecentInfo *) l->data; - if (!gtk_recent_info_has_application (info, evince) || + if (!gtk_recent_info_has_application (info, atril) || (gtk_recent_info_is_local (info) && !gtk_recent_info_exists (info))) continue; @@ -4152,7 +4152,7 @@ ev_window_cmd_edit_toolbar_cb (GtkDialog *dialog, egg_editable_toolbar_set_edit_mode (toolbar, FALSE); toolbars_file = g_build_filename (ev_application_get_dot_dir (EV_APP, TRUE), - "evince_toolbar.xml", NULL); + "atril_toolbar.xml", NULL); egg_toolbars_model_save_toolbars (egg_editable_toolbar_get_model (toolbar), toolbars_file, "1.0"); g_free (toolbars_file); @@ -4319,9 +4319,9 @@ ev_window_cmd_view_autoscroll (GtkAction *action, EvWindow *ev_window) } #if OFFLINE_HELP_ENABLED -#define EV_HELP "ghelp:evince" +#define EV_HELP "ghelp:atril" #else -#define EV_HELP "http://library.mate.org/users/evince/stable/" +#define EV_HELP "http://library.mate.org/users/atril/stable/" #endif static void @@ -4578,16 +4578,16 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window) }; const char *license[] = { - N_("Evince is free software; you can redistribute it and/or modify " + N_("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.\n"), - N_("Evince is distributed in the hope that it will be useful, " + N_("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.\n"), N_("You should have received a copy of the GNU General Public License " - "along with Evince; if not, write to the Free Software Foundation, Inc., " + "along with Atril; if not, write to the Free Software Foundation, Inc., " "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n") }; @@ -4611,17 +4611,17 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window) gtk_show_about_dialog ( GTK_WINDOW (ev_window), - "name", _("Evince"), + "name", _("Atril"), "version", VERSION, "copyright", - _("© 1996–2009 The Evince authors"), + _("© 1996–2009 The Atril authors"), "license", license_trans, - "website", "http://www.mate.org/projects/evince", + "website", "http://www.mate.org/projects/atril", "comments", comments, "authors", authors, "documenters", documenters, "translator-credits", _("translator-credits"), - "logo-icon-name", "evince", + "logo-icon-name", "atril", "wrap-license", TRUE, NULL); @@ -6033,7 +6033,7 @@ do_action_named (EvWindow *window, EvLinkAction *action) ev_window_cmd_file_print (NULL, window); } else { g_warning ("Unimplemented named action: %s, please post a " - "bug report in Evince bugzilla " + "bug report in Atril bugzilla " "(http://bugzilla.mate.org) with a testcase.", name); } @@ -6516,9 +6516,9 @@ get_toolbars_model (void) toolbars_model = egg_toolbars_model_new (); toolbars_file = g_build_filename (ev_application_get_dot_dir (EV_APP, FALSE), - "evince_toolbar.xml", NULL); + "atril_toolbar.xml", NULL); toolbars_path = g_build_filename (ev_application_get_data_dir (EV_APP), - "evince-toolbar.xml", NULL); + "atril-toolbar.xml", NULL); egg_toolbars_model_load_names (toolbars_model, toolbars_path); if (!egg_toolbars_model_load_toolbars (toolbars_model, toolbars_file)) { @@ -6675,7 +6675,7 @@ method_call_cb (GDBusConnection *connection, static const char introspection_xml[] = "<node>" - "<interface name='org.mate.evince.Window'>" + "<interface name='org.mate.atril.Window'>" "<method name='SyncView'>" "<arg type='s' name='source_file' direction='in'/>" "<arg type='(ii)' name='source_point' direction='in'/>" @@ -6801,7 +6801,7 @@ ev_window_init (EvWindow *ev_window) action_group, 0); ui_path = g_build_filename (ev_application_get_data_dir (EV_APP), - "evince-ui.xml", NULL); + "atril-ui.xml", NULL); if (!gtk_ui_manager_add_ui_from_file ( ev_window->priv->ui_manager, ui_path, &error)) { diff --git a/shell/ev-window.h b/shell/ev-window.h index c6e4bd1b..d2e7d40f 100644 --- a/shell/ev-window.h +++ b/shell/ev-window.h @@ -1,16 +1,16 @@ -/* this file is part of evince, a mate document viewer +/* this file is part of atril, a mate document viewer * * Copyright (C) 2004 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 + * 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/shell/evince-icon.rc b/shell/evince-icon.rc deleted file mode 100644 index 7a37b524..00000000 --- a/shell/evince-icon.rc +++ /dev/null @@ -1 +0,0 @@ -1 ICON "evince.ico" diff --git a/shell/main.c b/shell/main.c index 5e3b6774..7f00c6f9 100644 --- a/shell/main.c +++ b/shell/main.c @@ -76,9 +76,9 @@ static const GOptionEntry goption_options[] = { { "page-label", 'p', 0, G_OPTION_ARG_STRING, &ev_page_label, N_("The page label of the document to display."), N_("PAGE")}, { "page-index", 'i', 0, G_OPTION_ARG_INT, &ev_page_index, N_("The page number of the document to display."), N_("NUMBER")}, - { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen_mode, N_("Run evince in fullscreen mode"), NULL }, - { "presentation", 's', 0, G_OPTION_ARG_NONE, &presentation_mode, N_("Run evince in presentation mode"), NULL }, - { "preview", 'w', 0, G_OPTION_ARG_NONE, &preview_mode, N_("Run evince as a previewer"), NULL }, + { "fullscreen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen_mode, N_("Run atril in fullscreen mode"), NULL }, + { "presentation", 's', 0, G_OPTION_ARG_NONE, &presentation_mode, N_("Run atril in presentation mode"), NULL }, + { "preview", 'w', 0, G_OPTION_ARG_NONE, &preview_mode, N_("Run atril as a previewer"), NULL }, { "find", 'l', 0, G_OPTION_ARG_STRING, &ev_find_string, N_("The word or phrase to find in the document"), N_("STRING")}, { "unlink-tempfile", 'u', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &unlink_temp_file, NULL, NULL }, { "print-settings", 't', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &print_settings, NULL, NULL }, @@ -101,7 +101,7 @@ launch_previewer (void) * not supported by the previewer and taking only * the first path given */ - cmd_str = g_string_new ("evince-previewer"); + cmd_str = g_string_new ("atril-previewer"); if (print_settings) { gchar *quoted; @@ -304,11 +304,11 @@ main (int argc, char *argv[]) ev_stock_icons_init (); #if defined(WITH_SMCLIENT) && defined(GDK_WINDOWING_X11) - egg_set_desktop_file (MATEDATADIR "/applications/evince.desktop"); + egg_set_desktop_file (MATEDATADIR "/applications/atril.desktop"); #else /* Manually set name and icon */ g_set_application_name (_("Document Viewer")); - gtk_window_set_default_icon_name ("evince"); + gtk_window_set_default_icon_name ("atril"); #endif /* WITH_SMCLIENT && GDK_WINDOWING_X11 */ ev_application_load_session (EV_APP); |