summary refs log tree commit diff
path: root/pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-02-09 18:38:26 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-02-09 18:38:26 +0100
commit9abff7a85ec47613cd701c4b319fc6fe8fed4fae (patch)
tree5fac78f085359e8799e65ae62a56716beb3c8d22 /pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
parent5e28bf0bdefc502ed041bf36bcaeb8681804815e (diff)
downloadnixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar.gz
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar.bz2
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar.lz
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar.xz
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.tar.zst
nixlib-9abff7a85ec47613cd701c4b319fc6fe8fed4fae.zip
Major Xfce refactoring, also adding versions 4.10.*
Please, comment on #296.
Diffstat (limited to 'pkgs/desktops/xfce/core/xfce4-panel-datadir.patch')
-rw-r--r--pkgs/desktops/xfce/core/xfce4-panel-datadir.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-panel-datadir.patch b/pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
new file mode 100644
index 000000000000..ed9df9ef36f3
--- /dev/null
+++ b/pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
@@ -0,0 +1,24 @@
+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")
+ 
+diff --git a/panel/panel-module.c b/panel/panel-module.c
+index ba39320..519440b 100644
+--- a/panel/panel-module.c
++++ b/panel/panel-module.c
+@@ -35,6 +35,7 @@
+ #include <panel/panel-plugin-external-wrapper.h>
+ #include <panel/panel-plugin-external-46.h>
+ 
++#define LIBDIR "/run/current-system/sw/lib/xfce4"
+ #define PANEL_PLUGINS_LIB_DIR (LIBDIR G_DIR_SEPARATOR_S "panel" G_DIR_SEPARATOR_S "plugins")
+ #define PANEL_PLUGINS_LIB_DIR_OLD (LIBDIR G_DIR_SEPARATOR_S "panel-plugins")
+