openbsd-ports/x11/windowmaker/patches/patch-WPrefs_app_Paths_c
2001-10-24 13:54:38 +00:00

24 lines
1.3 KiB
Plaintext

$OpenBSD: patch-WPrefs_app_Paths_c,v 1.2 2001/10/24 13:54:38 wilfried Exp $
--- WPrefs.app/Paths.c.orig Wed Oct 24 10:28:41 2001
+++ WPrefs.app/Paths.c Wed Oct 24 10:35:27 2001
@@ -85,8 +85,8 @@ showData(_Panel *panel)
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, "%%PREFIX%%/share/WindowMaker/Icons");
+ addPathToList(panel->icoL, -1, "%%PREFIX%%/share/WindowMaker/Pixmaps");
addPathToList(panel->icoL, -1, "/usr/share/WindowMaker/Icons");
} else {
for (i=0; i<WMGetPropListItemCount(array); i++) {
@@ -101,7 +101,7 @@ showData(_Panel *panel)
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<WMGetPropListItemCount(array); i++) {
val = WMGetFromPLArray(array, i);