Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 6e24808b88f41f01be16e78c42bbece1 > files > 3

abbot-0.12.3-1jpp.src.rpm

--- src/abbot/editor/ScriptEditor.java.orig	2004-07-08 15:46:01.043888000 +0200
+++ src/abbot/editor/ScriptEditor.java	2004-07-08 15:49:14.423147000 +0200
@@ -34,7 +34,6 @@
 import abbot.util.Properties;
 import abbot.util.ThreadTerminatingSecurityManager.ThreadTerminatedException;
 
-import com.apple.mrj.*;
 
 /**
  * Costello, the editor for Abbot scripts.<p>
@@ -367,19 +366,6 @@
                 quit();
             }
         });
-        if (Platform.isOSX()) {
-            // Mac has it's own dedicated Quit/About menu items
-            MRJApplicationUtils.registerQuitHandler(new MRJQuitHandler() {
-                public void handleQuit() {
-                    quit();
-                }
-            });
-            MRJApplicationUtils.registerAboutHandler(new MRJAboutHandler() {
-                public void handleAbout() {
-                    view.showAboutBox();
-                }
-            });
-        }
     }
 
     /**
--- src/abbot/editor/ScriptEditorFrame.java.orig	2004-07-08 15:46:01.133865000 +0200
+++ src/abbot/editor/ScriptEditorFrame.java	2004-07-08 15:48:22.593293000 +0200
@@ -15,7 +15,6 @@
 import abbot.editor.widgets.*;
 import abbot.i18n.Strings;
 
-import com.apple.mrj.*;
 
 /**
  * Provides the primary frame for the Costello script editor.