diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-12-01 15:37:08 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-01 16:00:14 +0100 |
commit | 8ad4f0aa315d69ff6b2df50e21ef01a60b0d2aec (patch) | |
tree | ef78c7e35835bea528e043551b37d7e64cc357c9 | |
parent | 4afc903a8c1b9cb19c0341b5cd2ea80a34974f25 (diff) | |
download | guix-8ad4f0aa315d69ff6b2df50e21ef01a60b0d2aec.tar.gz |
gnu: gnome-default-applications: Add Evince for PDF and PS.
* gnu/packages/gnome.scm (gnome-default-applications)[propagated-inputs]: Add EVINCE. [arguments]: Associate Evince with application/pdf and application/postscript.
-rw-r--r-- | gnu/packages/gnome.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9a46495f10..2ea681e14e 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5870,7 +5870,8 @@ software that do not provide their own configuration interface.") (build-system trivial-build-system) (source #f) (propagated-inputs - `(("nautilus" ,nautilus))) + `(("nautilus" ,nautilus) + ("evince" ,evince))) (arguments `(#:modules ((guix build utils)) #:builder @@ -5882,7 +5883,9 @@ software that do not provide their own configuration interface.") (call-with-output-file (string-append apps "/defaults.list") (lambda (port) (format port "[Default Applications]\n") - (format port "inode/directory=org.gnome.Nautilus.desktop\n"))) + (format port "inode/directory=org.gnome.Nautilus.desktop\n") + (format port "application/pdf=evince.desktop\n") + (format port "application/postscript=evince.desktop\n"))) #t)))) (synopsis "Default MIME type associations for the GNOME desktop") (description |