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

8 Commits

Author SHA1 Message Date
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
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
Nick Richards
47136ec9de Improve appdata and rename assets to app-id 2018-06-04 21:56:42 +01: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
Carlos Garcia Campos
66e5636dca Run evince instances in different processes instead of single instance
- When built with DBus support a daemon is used to keep track of opened
   documents and reload them when reopened.

 - Crash recovery code has been removed.

 - Metadata migration code has been moved from main.c to ev-daemon.c, so
   that it's only run once on daemon startup.

Fixes bgo#583680, bgo#434966, bgo#497388, bgo#524633 and bgo#586087.
2009-10-20 18:26:49 +02:00