gnome3.gnome-shell: fix libgnomekdb path

This commit is contained in:
Jan Tojnar 2018-05-12 22:57:05 +02:00
parent 8e7f0bc862
commit 0e57b81b2d
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 12 additions and 0 deletions

View File

@ -59,6 +59,7 @@ in stdenv.mkDerivation rec {
}) })
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;
inherit (gnome3) libgnomekbd;
inherit unzip; inherit unzip;
}) })
]; ];

View File

@ -9,3 +9,14 @@
null, null,
GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD, GLib.SpawnFlags.SEARCH_PATH | GLib.SpawnFlags.DO_NOT_REAP_CHILD,
null); null);
--- a/js/ui/status/keyboard.js
+++ b/js/ui/status/keyboard.js
@@ -1019,7 +1019,7 @@
if (xkbVariant.length > 0)
description = description + '\t' + xkbVariant;
- Util.spawn(['gkbd-keyboard-display', '-l', description]);
+ Util.spawn(['@libgnomekbd@/bin/gkbd-keyboard-display', '-l', description]);
},
_containerGetPreferredWidth: function(container, for_height, alloc) {