From 8584965b7949cdd7a4cd702b5422474b088beb36 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Thu, 10 May 2018 14:41:26 +0200 Subject: gnu: gajim: Fix GtkFileChooserDialog. * gnu/packages/messaging.scm (gajim)[arguments]: Add 'wrap-program phase to fix GtkFileChooserDialog. --- gnu/packages/messaging.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index b90f95da1c..6efb8121e8 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -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))) -- cgit 1.4.1