summaryrefslogtreecommitdiff
path: root/gnu/packages/gnome.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-01 15:37:08 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-01 16:00:14 +0100
commit8ad4f0aa315d69ff6b2df50e21ef01a60b0d2aec (patch)
treeef78c7e35835bea528e043551b37d7e64cc357c9 /gnu/packages/gnome.scm
parent4afc903a8c1b9cb19c0341b5cd2ea80a34974f25 (diff)
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.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r--gnu/packages/gnome.scm7
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