diff src/name/blackcap/imageprep/Osdep.kt.mac.osdep @ 1:0bded24f746e

Compiles, still untested.
author David Barts <n5jrn@me.com>
date Thu, 16 Jul 2020 21:51:08 -0700
parents e0efe7848130
children 5fa5d15b4a7b
line wrap: on
line diff
--- a/src/name/blackcap/imageprep/Osdep.kt.mac.osdep	Thu Jul 16 19:57:23 2020 -0700
+++ b/src/name/blackcap/imageprep/Osdep.kt.mac.osdep	Thu Jul 16 21:51:08 2020 -0700
@@ -1,7 +1,7 @@
 /*
  * OS-dependent code, Mac version.
  */
-package name.blackcap.exifwasher
+package name.blackcap.imageprep
 
 import com.apple.eawt.AboutHandler
 import com.apple.eawt.PreferencesHandler
@@ -10,8 +10,6 @@
 fun setMacMenus() {
     com.apple.eawt.Application.getApplication().run {
         setAboutHandler(AboutHandler { showAboutDialog() })
-        setPreferencesHandler(
-            PreferencesHandler { Application.settingsDialog.setVisible(true) })
         setQuitStrategy(QuitStrategy.CLOSE_ALL_WINDOWS)
     }
 }