1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-05 00:59:07 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
Germán Poo-Caamaño
745364b03c build: Use devel icon for unstable version installed
* Help visually distinguish the development version from the
  stable one.
2021-06-23 20:38:33 +00:00
Germán Poo-Caamaño
d0b845e511 data: Crop out of place pixel line of screenshot 2020-06-28 23:00:34 -04:00
Caolán McNamara
8ce024b57c data: Add man pages for evince-previewer and evince-thumbnailer
Man pages from the Debian project.

Fixes #680
2020-06-22 01:25:38 -04:00
Iñigo Martínez
b27189bb3c build: Remove autotools
To avoid the burden of maintaining multiple build systems, autotools
support has been removed.

GitLab CI configuration has also been updated to use meson.
2020-05-30 22:39:51 -04:00
Germán Poo-Caamaño
765a875a27 data: Update screenshots to fit current UI
Fixes #1278
2019-11-24 12:35:18 -03:00
Jakub Steiner
8cc8cf63a0 icon: create a nightly app icon
- Provide a development variant of the app icon
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/12
  for more info.

/label ~"9. Initiative: NightlyAppIcons"
2019-09-29 19:08:29 +00:00
Felipe Borges
61a793ba42 desktop: Include "evince" in .desktop keywords
The GNOME Shell search results are forwarded from the results of
GLib's g_desktop_app_info_search() function, which matches the
Name, Exec, Keywords, GenericName, X_GNOME_FullName, and Comment
keys from desktop files[0].

Since Evince is now named "Document Viewer", a query for "evince"
would match the "Exec" key and present the application in the search
results as expected. Unfortunately that doesn't happen for Flaptaked
Evince, which would get its desktop file "Exec" key overwritten to
something such as Exec=/usr/bin/flatpak run --branch=stable
--arch=x86_64 --command=evince org.gnome.Evince --new-document

This way, searching for "evince" when only the Flatpaked version
of it is installed returns no results. Searching for "Document
Viewer" presents the application as expected.

Its been proposed in GLib to parse the "Exec" key for searches
but that was rejected[1] because it would imply establishing an
API which assumes that the command line behavior of Flatpak would
be stable/never-change.

A fix was proposed in Flatpak directly[2] but it was rejected,
leaving us with the only option of adding the historical/legacy
application names to the "Keywords" key in their desktop files.

Many users, such as myself, have the "muscle memory" of search
for the old application's name, such as "evince", "totem", "gedit".
Although I agree that the new names should be presented to new
users and that the old ones shouldn't be visible in UI, it makes
sense and little effort to support the search for the old names IMO.

I proposed the same changes in "gedit"[3].

[0] https://gitlab.gnome.org/GNOME/glib/blob/master/gio/gdesktopappinfo.c#L378
[1] https://gitlab.gnome.org/GNOME/glib/issues/1706
[2] https://github.com/flatpak/flatpak/issues/2749
[3] https://gitlab.gnome.org/GNOME/gedit/merge_requests/44
2019-05-02 11:34:17 +02:00
Jakub Steiner
8672055801 icon: update app icon
- GNOME 3.30 redesign of app icons.
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
  for more info.

/label ~"9. Initiative: AppIconRedesign"
2019-01-29 12:41:06 +01:00
Germán Poo-Caamaño
85aacdaf4d annotations: Add icons for squiggly and text annotations 2018-11-12 00:06:13 -03:00
Germán Poo-Caamaño
bacd06ce92 toolbar: Provide a visual cue when find is unsupported
When document type does not support 'find', Evince disables the
find feature. Previously, we added a tooltip explaining the reason.
However, a straightforward visual cue is more desirable, especially
for touchpad users.

Aside the tooltip, we now also provide an icon that mimic other
icons in GNOME when a service is unavailable, that is, an 'x' on
the icon for mute or wifi.

Fixes #105
2018-11-11 17:56:12 -03:00
Germán Poo-Caamaño
d3014d8c30 build: Add missing icon on meson build
In commit 456b3d1509 we introduced a new icon, but I forgot to
add it in the meson build.
2018-11-11 17:49:52 -03:00
Germán Poo-Caamaño
456b3d1509 view: Add symbolic to show a layer when is visible
Took icon from gimp, as the cellrenderer we use is also
copied from there.
2018-11-10 23:56:08 -03:00
Germán Poo-Caamaño
fbb0a96366 build: Set Daemon service namespace to lowecase
Regardless we renamed the app-id to org.gnome.Evince, and desktop
files, icons, etc. to match the name; we keep the D-Bus services
in lowercase for backward compatibility.
2018-10-08 00:52:08 -03:00
Germán Poo-Caamaño
adc1fb72c8 Revert "shell: Make evinced D-Bus name match application name"
This reverts commit 116bd1d022.
2018-10-07 00:02:00 -03:00
Germán Poo-Caamaño
63ceaa9936 Revert "Set back D-Bus application name to lowercase"
This reverts commit f99c554309.
2018-10-06 23:55:23 -03:00
Germán Poo-Caamaño
f99c554309 Set back D-Bus application name to lowercase
* Set application id lowercase
* Make the daemon and application names match
* Make the icons and desktop files match the
  application id
* Keep the D-BUS interfaces backwards compatible,
  and enable
  the flatpak version to launch the daemon.
* Take care of translations after renaming files.

This commit also changes the application id for flatpak,
which is a compromise.
2018-10-04 10:41:57 -03:00
Iñigo Martínez
0fff3894bb meson: Don't reference systemd service
meson has been updated following a recent change in autotools that
changed the way the Evince Daemon service is configured[0].

[0] dfc7207b94
2018-10-04 12:28:22 +02:00
Iñigo Martínez
49bd79f5dd meson: Use absolute paths instead of relative paths
Many of used paths are using relative paths, which makes some
libraries/executables not to be found.

This has been changed to use absolute paths that fixes these issues.
2018-10-04 07:21:32 +02:00
Bastien Nocera
dfc7207b94 shell: Don't reference systemd service
It doesn't get exported outside the sandbox, so the session systemd
doesn't know how to start it. The information in the systemd .service
file should be enough for systemd to correlate the two when running
outside the sandbox.
2018-10-02 09:29:05 +02:00
Iñigo Martínez
4fd6821324 build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats
that are used in GNOME applications.

Both autotools and meson have been migrated from Intltool to
Gettext.
2018-09-29 20:02:03 +02:00
Iñigo Martínez
d69158ecf0 build: Port to Meson build system
Meson is a build system focused on speed and ease of use, which
helps speed up software development. This patch adds Meson support
alongside Autotools.
2018-09-24 10:28:33 +02:00
Bastien Nocera
116bd1d022 shell: Make evinced D-Bus name match application name
D-Bus names are case sensitive, so we need to use org.gnome.Evince.Daemon
not org.gnome.evince.Daemon as its name.

Closes: #990
2018-09-22 02:11:11 +02:00
Germán Poo-Caamaño
22cd4e4a4e icons: Move symbolic action icons to scalable
It seems the action icons are not found inside
symbolic/actions, but they are found in scalable/actions.

Moved the -symbolic icons to scalable to solve temporarily
the issue.

Fixes #961
2018-08-19 15:02:35 -03:00
Jakub Steiner
4b215b6fe2 icons: install symbolics properly
- outline and sidebar icons need to be installed as -symbolic
  to allow recoloring.

Fixes issue #961
2018-08-15 17:46:26 +02:00
Germán Poo-Caamaño
10b891964e desktop: Remove X-GNOME-Bugzilla keys from desktop files
Bug buddy is no longer used, and the keyword is not needed anymore.
2018-07-31 23:51:07 -04:00
Germán Poo-Caamaño
51227111c0 icons: Add missing image for the switch bar in the side pane 2018-07-27 15:57:00 -04:00
Germán Poo-Caamaño
39cee66df1 ui: Use a new icon for the outline in the side bar
* Take format-justify-left and make it as the outline icon.
* Make a copy of the icon as the purpose in the theme is
  different and it may change in the future.

See #947
2018-07-27 14:47:14 -04:00
Germán Poo-Caamaño
37517a3ea5 Use a custom icon in the toolbar to view the sidebar
See #947
2018-07-27 13:51:50 -04:00
Germán Poo-Caamaño
1b40296410 Revert "icon: update app icon"
This reverts commit 1dad69e1ba.

As per comment in MR #44:
"It pains me to ask you to postpone the merge until after 3.30.
Because we rolled out the initiative too late, it's been decided
to aim for 3.32 with the actual icons."
2018-07-27 10:27:08 -04:00
Jakub Steiner
1dad69e1ba icon: update app icon
- GNOME 3.30 redesign of app icons.
  See https://gitlab.gnome.org/GNOME/Initiatives/issues/2
  for more info.
2018-07-20 18:35:02 +02:00
Juanjo Marin
87cb7f3513 Switch the default sizing mode to automatic
https://bugzilla.gnome.org/show_bug.cgi?id=733632
Fixes #482
2018-07-15 12:03:53 -04:00
Nick Richards
adc0b28d77 Update screenshots to show title 2018-06-05 08:10:41 +01:00
Nick Richards
47136ec9de Improve appdata and rename assets to app-id 2018-06-04 21:56:42 +01:00
Will Hawkins
719f7dccdb libview: Add inline spell check for annotations
For highlight annotations and text annotations,
add support for inline spell checking of the contents.
Uses gspell 1.0 to accomplish spell check.

https://bugzilla.gnome.org/show_bug.cgi?id=772622
2018-05-08 09:42:44 -03:00
Didier Roche
6e29a9aba5 evince.desktop: add "viewer" to desktop keywords
As document is already in the list of keywords (duplicating Name), doing
the same for the other commonly used keyword "viewer" for evince.

https://bugzilla.gnome.org/show_bug.cgi?id=671039
2017-09-26 13:19:24 -03:00
Laurent Bigonville
823369f498 Remove the MimeType association from the evince-previewer.desktop file
evince-previewer is not supposed to be used directly by the users and
then shouldn't be added to the list of available applications when
opening files.

On debian it causes issues as the .desktop file are automatically
registered in the /etc/mailcap file and applications using this
mechanism will prefer evince-previewer over evince itself, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825418

https://bugzilla.gnome.org/show_bug.cgi?id=744893
2016-06-09 09:42:58 +02:00
Simon McVittie
3e76c45a53 Make the systemd user unit conditional
I've implemented this by adding a --with[out]-systemduserunitdir
configure option, because that seems to be what's conventional
in projects where user units are configurable at all. If a user or
distribution wants to disable these units, it's easier if they can
pass --without-systemduserunitdir to everything, rather than checking
whether it's spelled --disable-systemd-user-units in this particular
project. Also, a binary enable/disable option wouldn't be noticeably
less code.

If the systemd user unit is disabled at configure time, the
SystemdService line in the installed D-Bus service file is commented
out. This addresses the corner-case situation where a user configures
Evince --without-systemduserunitdir, but enables systemd activation
for their session dbus-daemon (perhaps later). In that situation,
we presumably want Evince to continue to use traditional activation,
rather than trying to launch a nonexistent systemd unit.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=755897
Reviewed-by: Carlos Garcia Campos
2016-04-13 07:35:51 +01:00
Simon McVittie
605e290b79 Add a systemd user unit corresponding to the D-Bus session service
https://bugzilla.gnome.org/show_bug.cgi?id=755897
2016-01-08 12:23:40 -08:00
Michael Catanzaro
2d71b15fbf Move symbolic app icon to symbolic folder
It's the cool new place to put symbolic icons.
2015-11-18 22:04:25 -06:00
Michael Catanzaro
9efbaf9674 Fix installation of symbolic app icon 2015-11-18 21:57:51 -06:00
Jakub Steiner
b2e9dca192 icon: provide a symbolic variant of the app icon
https://bugzilla.gnome.org/show_bug.cgi?id=746844
2015-04-27 18:46:25 -05:00
Eduard Beutel
5d8ef0fa95 Add allow-links-change-zoom setting
When enabled links are not allowed to change the current zoom mode and
level.

https://bugzilla.gnome.org/show_bug.cgi?id=729249
2014-09-03 17:46:32 +02:00
Carlos Garcia Campos
21883321ea build: try to fix the build when srcdir != builddir 2014-08-04 14:27:17 +02:00
Carlos Garcia Campos
48110cb416 previewer: Add CSS file for EvView styling
EvView CSS used to be shared in adwaita theme, but now that adwaita has
been merged into GTK+ and app specific CSS has been removed, we need to
add the EvView CSS to all of its users.
2014-08-04 13:42:05 +02:00
Carlos Garcia Campos
74fbddb63c Fix MIME type lists in desktop files
Make sure we always use a ; betweeh mime types and a trailing ; as well
in desktop and backend files.

https://bugzilla.gnome.org/show_bug.cgi?id=732216
2014-06-25 13:15:21 +02:00
Antia Puentes
fc9b6d12cb Enable/disable the caret navigation with F7
https://bugzilla.gnome.org/show_bug.cgi?id=702079
2013-07-26 18:27:00 +02:00
Carlos Garcia Campos
e656398731 Fix the cache size unit used in gsettings documentation
Use MiB instead of Mb.

https://bugzilla.gnome.org/show_bug.cgi?id=704155
2013-07-14 13:15:07 +02:00
Jonas Danielsson
392d8e33fb ev-window: add new gsetting to set the page cache size
https://bugzilla.gnome.org/show_bug.cgi?id=642683
2013-06-08 10:54:38 +02:00
Marek Kasik
f27257aa82 Update man page
Short form of "--page-index" is "-i" not "-p".
Add description of "--named-dest" to man page.
2013-04-11 10:30:02 +02:00
Kalev Lember
dbe17a8b6d evince.desktop: Remove the NoDisplay line
The NoDisplay=true made sense in a document centric system model but in
the app centric GNOME 3, we want it to show up in the menu and in app
search.

https://bugzilla.gnome.org/show_bug.cgi?id=634245
2013-03-26 14:35:39 +01:00