|
|
535abd0 |
From 8942eb50494625f9e871c4c2a0d53bd4f6327103 Mon Sep 17 00:00:00 2001
|
|
|
535abd0 |
Message-Id: <8942eb50494625f9e871c4c2a0d53bd4f6327103.1348147845.git.ismael@olea.org>
|
|
|
535abd0 |
From: Ismael Olea <ismael@olea.org>
|
|
|
535abd0 |
Date: Thu, 20 Sep 2012 14:28:48 +0200
|
|
|
535abd0 |
Subject: [PATCH] get-rid-of-MRJAdapter
|
|
|
535abd0 |
|
|
|
535abd0 |
---
|
|
|
535abd0 |
src/org/omegat/gui/main/MainWindowMenu.java | 17 -----------------
|
|
|
535abd0 |
1 files changed, 0 insertions(+), 17 deletions(-)
|
|
|
535abd0 |
|
|
|
535abd0 |
diff --git a/src/org/omegat/gui/main/MainWindowMenu.java b/src/org/omegat/gui/main/MainWindowMenu.java
|
|
|
535abd0 |
index 5be4bf4..406be63 100644
|
|
|
535abd0 |
--- a/src/org/omegat/gui/main/MainWindowMenu.java
|
|
|
535abd0 |
+++ b/src/org/omegat/gui/main/MainWindowMenu.java
|
|
|
535abd0 |
@@ -49,8 +49,6 @@ import javax.swing.JMenuItem;
|
|
|
7cfe9d4 |
import javax.swing.JRadioButtonMenuItem;
|
|
|
1bf3017 |
import javax.swing.JSeparator;
|
|
|
535abd0 |
|
|
|
f406426 |
-import net.roydesign.mac.MRJAdapter;
|
|
|
1bf3017 |
-
|
|
|
1bf3017 |
import org.omegat.core.Core;
|
|
|
1bf3017 |
import org.omegat.core.CoreEvents;
|
|
|
1bf3017 |
import org.omegat.core.events.IApplicationEventListener;
|
|
|
535abd0 |
@@ -394,21 +392,6 @@ public class MainWindowMenu implements ActionListener, IMainMenu {
|
|
|
1bf3017 |
* Initialize Mac-specific features.
|
|
|
1bf3017 |
*/
|
|
|
1bf3017 |
private void initMacSpecific() {
|
|
|
1bf3017 |
- try {
|
|
|
f406426 |
- // MacOSX-specific
|
|
|
1bf3017 |
- MRJAdapter.addQuitApplicationListener(new ActionListener() {
|
|
|
1bf3017 |
- public void actionPerformed(ActionEvent e) {
|
|
|
1bf3017 |
- mainWindowMenuHandler.projectExitMenuItemActionPerformed();
|
|
|
f406426 |
- }
|
|
|
f406426 |
- });
|
|
|
1bf3017 |
- MRJAdapter.addAboutListener(new ActionListener() {
|
|
|
1bf3017 |
- public void actionPerformed(ActionEvent e) {
|
|
|
1bf3017 |
- mainWindowMenuHandler.helpAboutMenuItemActionPerformed();
|
|
|
f406426 |
- }
|
|
|
f406426 |
- });
|
|
|
1bf3017 |
- } catch (NoClassDefFoundError e) {
|
|
|
f406426 |
- Log.log(e);
|
|
|
f406426 |
- }
|
|
|
1bf3017 |
}
|
|
|
f406426 |
|
|
|
1bf3017 |
/**
|
|
|
535abd0 |
--
|
|
|
535abd0 |
1.7.7.6
|
|
|
535abd0 |
|