$OpenBSD: patch-WPrefs_app_Paths_c,v 1.1 2001/02/15 17:57:55 wilfried Exp $
--- WPrefs.app/Paths.c.orig	Thu Feb  8 22:54:13 2001
+++ WPrefs.app/Paths.c	Tue Feb 13 15:20:59 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<PLGetNumberOfElements(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<PLGetNumberOfElements(array); i++) {
 	    val = PLGetArrayElement(array, i);
