guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.lis


From: Brendan Tildesley
Subject: [bug#29521] [PATCH] gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
Date: Fri, 1 Dec 2017 14:14:06 +1100

* gnu/packages/gnome.scm (gnome-default-applications)

[arguments]: Change deprecated defaults.list filename to gnome-mimeapps.list.
The old defaults.list was changed to mimeapps.list in the mime spec. The
gnome- prefix makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.
---
 gnu/packages/gnome.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9a46495f1..b02e2a567 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5879,7 +5879,7 @@ software that do not provide their own configuration 
interface.")
          (let* ((out (assoc-ref %outputs "out"))
                 (apps (string-append out "/share/applications")))
            (mkdir-p apps)
-           (call-with-output-file (string-append apps "/defaults.list")
+           (call-with-output-file (string-append apps "/gnome-mimeapps.list")
              (lambda (port)
                (format port "[Default Applications]\n")
                (format port "inode/directory=org.gnome.Nautilus.desktop\n")))
-- 
2.15.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]