gnu: gajim: Fix GtkFileChooserDialog.

* gnu/packages/messaging.scm (gajim)[arguments]: Add 'wrap-program phase to fix
GtkFileChooserDialog.
This commit is contained in:
Rutger Helling 2018-05-10 14:41:26 +02:00
parent a73489e8a7
commit 8584965b79
No known key found for this signature in database
GPG Key ID: F3A727DB44FCCA36
1 changed files with 9 additions and 1 deletions

View File

@ -627,7 +627,15 @@ was initially a fork of xmpppy, but uses non-blocking sockets.")
(with-directory-excursion icons
(symlink adwaita "Adwaita")
(copy-recursively hicolor "hicolor")))
#t)))))
#t))
(add-after 'install-icons 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/gajim")
;; For GtkFileChooserDialog.
`("GSETTINGS_SCHEMA_DIR" =
(,(string-append (assoc-ref inputs "gtk+")
"/share/glib-2.0/schemas")))))))))
(native-inputs
`(("intltool" ,intltool)
("xorg-server" ,xorg-server)))