summaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se-gtk-Metacity.java
blob: eaf393914189234f8009078f2112f93484442a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$FreeBSD$

--- ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java.orig	Sun Jul 29 23:03:30 2007
+++ ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java	Sun Jul 29 23:03:30 2007
@@ -460,10 +460,10 @@
 		String[] dirs = new String[] {
 		    userHome + sep + ".themes",
 		    System.getProperty("swing.metacitythemedir"),
-		    "/usr/X11R6/share/themes",
-		    "/usr/X11R6/share/gnome/themes",
-		    "/usr/local/share/themes",
-		    "/usr/local/share/gnome/themes",
+		    "%%X11BASE%%/share/themes",
+		    "%%X11BASE%%/share/gnome/themes",
+		    "%%LOCALBASE%%/share/themes",
+		    "%%LOCALBASE%%/share/gnome/themes",
 		    "/usr/share/themes",
 		    "/usr/gnome/share/themes",  // Debian/Redhat/Solaris
                     "/opt/gnome2/share/themes"  // SuSE