triplea/triplea-0.9.0.2-disable_LookAndFeel.patch

16 lines
1.0 KiB
Diff

diff -Nru triplea_0_9_0_2.orig/src/games/strategy/engine/framework/GameRunner2.java triplea_0_9_0_2/src/games/strategy/engine/framework/GameRunner2.java
--- triplea_0_9_0_2.orig/src/games/strategy/engine/framework/GameRunner2.java 2007-01-17 19:43:52.000000000 +0100
+++ triplea_0_9_0_2/src/games/strategy/engine/framework/GameRunner2.java 2008-03-11 11:50:28.000000000 +0100
@@ -161,11 +161,6 @@
//macs are already beautiful
if (!GameRunner.isMac())
{
- com.jgoodies.looks.plastic.PlasticLookAndFeel.setTabStyle(com.jgoodies.looks.plastic.PlasticLookAndFeel.TAB_STYLE_METAL_VALUE);
- //com.jgoodies.plaf.plastic.PlasticXPLookAndFeel.setTabStyle(com.jgoodies.plaf.plastic.PlasticLookAndFeel.TAB_STYLE_METAL_VALUE);
- UIManager.setLookAndFeel(new com.jgoodies.looks.plastic.PlasticXPLookAndFeel());
- com.jgoodies.looks.Options.setPopupDropShadowEnabled(true);
-
}
} catch (Throwable ex)
{