aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Tildesley <brendan.tildesley@openmailbox.org>2017-12-01 14:14:06 +1100
committerMarius Bakke <mbakke@fastmail.com>2020-04-02 20:55:14 +0200
commita6ac679f0a5556ad301e6f59755ec1886833ba82 (patch)
tree4e7a1fd7902e2b628b15ad911290c48fe83f9bba
parent79e5d150c637d56df80c8b69d35941f4798217ae (diff)
downloadpatches-a6ac679f0a5556ad301e6f59755ec1886833ba82.tar
patches-a6ac679f0a5556ad301e6f59755ec1886833ba82.tar.gz
gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.
* 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. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
-rw-r--r--gnu/packages/gnome.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 6178ee1010..b29acf3225 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7643,7 +7643,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")