Mercurial > cgi-bin > hgweb.cgi > JpegWasher
annotate 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 |
rev | line source |
---|---|
4 | 1 /* |
2 * OS-dependent code, Mac version. | |
3 */ | |
4 package name.blackcap.exifwasher | |
5 | |
6 import com.apple.eawt.AboutHandler | |
7 import com.apple.eawt.PreferencesHandler | |
8 | |
9 fun setMacMenus() { | |
6
aafc9c127c7b
Fix many bugs; get settings (apparently) working.
David Barts <n5jrn@me.com>
parents:
4
diff
changeset
|
10 com.apple.eawt.Application.getApplication().run { |
4 | 11 setAboutHandler(AboutHandler { showAboutDialog() }) |
12 setPreferencesHandler( | |
13 PreferencesHandler { Application.settingsDialog.setVisible(true) }) | |
14 } | |
15 } |