java-jeuclid/java-jeuclid-3.1.8-removes-OSX-dep.patch

19 lines
992 B
Diff

--- jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java 2009-10-09 15:22:40.000000000 +0200
+++ jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java-gil 2009-11-20 14:36:18.000000000 +0100
@@ -86,13 +86,13 @@
public void run() {
final MainFrame mainFrame = new MainFrame();
mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- if (MathViewer.OSX) {
+ /*if (MathViewer.OSX) {
final Application a = Application.getApplication();
a.setEnabledAboutMenu(true);
a.setEnabledPreferencesMenu(true);
a.addApplicationListener(new MainFrameAppListener(
mainFrame));
- }
+ }*/
if (MathViewer.source != null) {
mainFrame.loadFile(MathViewer.source);
}