ports/java/jdk16/files/patch-j2se::gtk::Metacity.java
Greg Lewis 1bb6af069e . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace some hardwired /usr/local instances with LOCALBASE.
. Small Makefile restructure to keep related variables in one place.
. Add ipv6 to CATEGORIES if its enabled. [2]

PR:             106130 [2]
Submitted by:   Janos Mohacsi <janos.mohacsi@bsd.hu> [2]
Pointed out by: pointyhat (via kris) [1]
2006-12-11 17:10:52 +00:00

15 lines
653 B
Java

$FreeBSD$
--- ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java.orig Sun Dec 10 21:55:26 2006
+++ ../../j2se/src/share/classes/com/sun/java/swing/plaf/gtk/Metacity.java Sun Dec 10 21:55:56 2006
@@ -456,8 +456,8 @@
String[] dirs = new String[] {
userHome + sep + ".themes",
System.getProperty("swing.metacitythemedir"),
- "/usr/X11R6/share/themes",
- "/usr/X11R6/share/gnome/themes",
+ "%%X11BASE%%/share/themes",
+ "%%X11BASE%%/share/gnome/themes",
"/usr/share/themes",
"/usr/gnome/share/themes", // Debian/Redhat/Solaris
"/opt/gnome2/share/themes" // SuSE