Add patch 09_looks2.5.patch to build against libjgoodies-looks-java >= 2.5.0.
[debian/jabref.git] / debian / patches / 09_looks2.5.patch
1 Description: LookUtils.IS_LAF_WINDOWS_XP_ENABLED was removed in JGoodies Looks 2.5.0
2 Origin: vendor
3 Forwarded: no
4 Author: gregor herrmann <gregoa@debian.org>
5 Last-Update: 2012-02-10
6
7 --- a/src/java/com/jgoodies/uif_lite/panel/SimpleInternalFrame.java
8 +++ b/src/java/com/jgoodies/uif_lite/panel/SimpleInternalFrame.java
9 @@ -370,8 +370,6 @@
10              UIManager.getColor("SimpleInternalFrame.activeTitleBackground");
11          if (c != null)
12              return c;
13 -        if (LookUtils.IS_LAF_WINDOWS_XP_ENABLED)
14 -            c = UIManager.getColor("InternalFrame.activeTitleGradient");
15          return c != null
16              ? c
17              : UIManager.getColor("InternalFrame.activeTitleBackground");
18 @@ -472,4 +470,4 @@
19          }
20      }
21  
22 -}
23 \ No newline at end of file
24 +}