
$FreeBSD: ports/misc/metatheme/files/patch-ah,v 1.2 2001/07/10 06:34:59 sobomax Exp $

--- plugins/sawfish/sawfish-plugin.c.orig	Sat Jun 23 00:02:09 2001
+++ plugins/sawfish/sawfish-plugin.c	Tue Jul 10 08:59:34 2001
@@ -224,7 +224,7 @@
 sawfish_plugin_theme_find (MtmExtHandler *handler, const gchar *name,gboolean is_root) 
 {
 	gchar *root_prefixes[] = {"share/sawfish/themes", NULL, NULL};
-	gchar *pre_prefixes[] = {"/usr/", "/usr/local/", NULL};
+	gchar *pre_prefixes[] = {"%%X11BASE%%", "%%LOCALBASE%%", NULL};
 	gchar *user_prefixes[] = {".sawfish/themes", NULL};
 	gchar **arr;
 	gchar *ret;
