aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-10-19 18:57:04 +0800
committertg <tg@FreeBSD.org>1998-10-19 18:57:04 +0800
commit5f8c75a214ba34f02302cb4fe13253dadcafc9c4 (patch)
tree4b2f392e13d98277f9e04b4d8542bcfdfc562db5 /x11-wm/windowmaker/files
parent22a22a7f059fc594b6f037705e3cea5f63964aa5 (diff)
downloadfreebsd-ports-gnome-5f8c75a214ba34f02302cb4fe13253dadcafc9c4.tar.gz
freebsd-ports-gnome-5f8c75a214ba34f02302cb4fe13253dadcafc9c4.tar.zst
freebsd-ports-gnome-5f8c75a214ba34f02302cb4fe13253dadcafc9c4.zip
Fix default paths in WPrefs.app.
Submitted by: Brian Handy <handy@physics.montana.edu>
Diffstat (limited to 'x11-wm/windowmaker/files')
-rw-r--r--x11-wm/windowmaker/files/patch-ag26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/patch-ag b/x11-wm/windowmaker/files/patch-ag
new file mode 100644
index 000000000000..d885e331e744
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-ag
@@ -0,0 +1,26 @@
+--- WPrefs.app/Paths.c.orig Fri Oct 9 07:35:39 1998
++++ WPrefs.app/Paths.c Fri Oct 9 07:37:46 1998
+@@ -82,10 +82,10 @@
+ wwarning(_("bad value in option IconPath. Using default path list"));
+ addPathToList(panel->icoL, -1, "~/pixmaps");
+ addPathToList(panel->icoL, -1, "~/GNUstep/Library/Icons");
+- addPathToList(panel->icoL, -1, "/usr/include/X11/pixmaps");
+- addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Icons");
+- addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Pixmaps");
+- addPathToList(panel->icoL, -1, "/usr/share/WindowMaker/Icons");
++ addPathToList(panel->icoL, -1, "%%PREFIX%%/include/X11/pixmaps");
++ addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Icons");
++ addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Pixmaps");
++ addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Icons");
+ } else {
+ for (i=0; i<PLGetNumberOfElements(array); i++) {
+ val = PLGetArrayElement(array, i);
+@@ -99,7 +99,7 @@
+ wwarning(_("bad value in option PixmapPath. Using default path list"));
+ addPathToList(panel->pixL, -1, "~/pixmaps");
+ addPathToList(panel->pixL, -1, "~/GNUstep/Library/WindowMaker/Pixmaps");
+- addPathToList(panel->pixL, -1, "/usr/local/share/WindowMaker/Pixmaps");
++ addPathToList(panel->pixL, -1, "%%PREFIX%%/share/WindowMaker/Pixmaps");
+ } else {
+ for (i=0; i<PLGetNumberOfElements(array); i++) {
+ val = PLGetArrayElement(array, i);