Mercurial > cgi-bin > hgweb.cgi > JpegWasher
comparison src/name/blackcap/exifwasher/Osdep.kt.mac.osdep @ 4:ba5dc14652da
Commit correct Osdep files.
author | David Barts <n5jrn@me.com> |
---|---|
date | Wed, 08 Apr 2020 21:31:30 -0700 |
parents | |
children | aafc9c127c7b |
comparison
equal
deleted
inserted
replaced
3:19c381c536ec | 4:ba5dc14652da |
---|---|
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.Application | |
8 import com.apple.eawt.PreferencesHandler | |
9 | |
10 fun setMacMenus() { | |
11 Application.getApplication().run { | |
12 setAboutHandler(AboutHandler { showAboutDialog() }) | |
13 setPreferencesHandler( | |
14 PreferencesHandler { Application.settingsDialog.setVisible(true) }) | |
15 } | |
16 } |