Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view src/name/blackcap/exifwasher/Osdep.kt.mac.osdep @ 7:65d14d44bc3f
Works, but the column layout numbers are WEIRD.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 10 Apr 2020 13:44:04 -0700 |
parents | aafc9c127c7b |
children | 0a106e9b91b4 |
line wrap: on
line source
/* * OS-dependent code, Mac version. */ package name.blackcap.exifwasher import com.apple.eawt.AboutHandler import com.apple.eawt.PreferencesHandler fun setMacMenus() { com.apple.eawt.Application.getApplication().run { setAboutHandler(AboutHandler { showAboutDialog() }) setPreferencesHandler( PreferencesHandler { Application.settingsDialog.setVisible(true) }) } }