forked from mirrors/nixpkgs
Using a patch to load plugins to xfce4-panel
This commit is contained in:
parent
7924c7f0b8
commit
aa4dc42459
12
pkgs/desktops/xfce-4.8/core/xfce4-panel-datadir.patch
Normal file
12
pkgs/desktops/xfce-4.8/core/xfce4-panel-datadir.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/panel/panel-module-factory.c b/panel/panel-module-factory.c
|
||||
index 529fe85..8c792b7 100644
|
||||
--- a/panel/panel-module-factory.c
|
||||
+++ b/panel/panel-module-factory.c
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <panel/panel-module.h>
|
||||
#include <panel/panel-module-factory.h>
|
||||
|
||||
+#define DATADIR "/run/current-system/sw/share/xfce4"
|
||||
#define PANEL_PLUGINS_DATA_DIR (DATADIR G_DIR_SEPARATOR_S "panel" G_DIR_SEPARATOR_S "plugins")
|
||||
#define PANEL_PLUGINS_DATA_DIR_OLD (DATADIR G_DIR_SEPARATOR_S "panel-plugins")
|
||||
|
|
@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
|
|||
sha1 = "332fc968332e6271e1bb65d6de8de2524b0440ec";
|
||||
};
|
||||
|
||||
patches = [ ./xfce4-panel-datadir.patch ];
|
||||
patchFlags = "-p1";
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig intltool gtk libxfce4util garcon libxfce4ui xfconf
|
||||
exo libwnck
|
||||
|
|
Loading…
Reference in a new issue