mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gnome-shell-extension-gsconnect: Fix paths in additional desktop file.
This fixes the gsconnect preferences button ("Mobile Settings") in the top-right quick-access menu not opening the preferences application. The window icon also displays properly with this commit. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect): [arguments]<#:phases>: Patch gapplication path in an additional desktop file in 'fix-paths phase. Change-Id: I6b84474e4976484f1203b7cf78fe5e882694cd22 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
7da79dde4d
commit
09c5a27dc0
1 changed files with 6 additions and 2 deletions
|
@ -778,8 +778,12 @@ faster window switching.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((gapplication (search-input-file inputs "/bin/gapplication"))
|
(let ((gapplication (search-input-file inputs "/bin/gapplication"))
|
||||||
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
|
||||||
(substitute* "data/org.gnome.Shell.Extensions.GSConnect.desktop.in"
|
(for-each
|
||||||
(("gapplication") gapplication))
|
(lambda (file)
|
||||||
|
(substitute* file
|
||||||
|
(("gapplication") gapplication)))
|
||||||
|
'("data/org.gnome.Shell.Extensions.GSConnect.desktop.in"
|
||||||
|
"data/org.gnome.Shell.Extensions.GSConnect.Preferences.desktop.in"))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(with-atomic-file-replacement
|
(with-atomic-file-replacement
|
||||||
file
|
file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue