Mercurial > cgi-bin > hgweb.cgi > JpegWasher
annotate src/name/blackcap/exifwasher/Osdep.kt.mac.osdep @ 40:a65a8f5a9647
Remove more deadwood.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 01 May 2020 23:07:23 -0700 |
parents | 0a106e9b91b4 |
children |
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 | |
9
0a106e9b91b4
Fix table layout; fix "select all for deletion" feature.
David Barts <n5jrn@me.com>
parents:
6
diff
changeset
|
8 import com.apple.eawt.QuitStrategy |
4 | 9 |
10 fun setMacMenus() { | |
6
aafc9c127c7b
Fix many bugs; get settings (apparently) working.
David Barts <n5jrn@me.com>
parents:
4
diff
changeset
|
11 com.apple.eawt.Application.getApplication().run { |
4 | 12 setAboutHandler(AboutHandler { showAboutDialog() }) |
13 setPreferencesHandler( | |
14 PreferencesHandler { Application.settingsDialog.setVisible(true) }) | |
9
0a106e9b91b4
Fix table layout; fix "select all for deletion" feature.
David Barts <n5jrn@me.com>
parents:
6
diff
changeset
|
15 setQuitStrategy(QuitStrategy.CLOSE_ALL_WINDOWS) |
4 | 16 } |
17 } |