OSDN Git Service

Added stub files, cocoa/AppDelegate.h and cocoa/AppDelegate.m, and an XML Interface...
authorEric Branlund <ebranlund@fastmail.com>
Thu, 20 Feb 2020 02:23:48 +0000 (18:23 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Thu, 20 Feb 2020 02:23:48 +0000 (18:23 -0800)
commit3888ee6aaa741422547468d116fcc68797acde9a
treeb6e6ca4dbe729576004fb94eb154e2f8af5659fc
parent1f88e200c0d5f65fc7a8fe0a4cdc06b6f2fbd894
Added stub files, cocoa/AppDelegate.h and cocoa/AppDelegate.m, and an XML Interface BUilder file, cocoa/Base.lproj/MainMenu.xib, so that it's easier to regenerate MainMenu.nib if making substantial changes to the Cocoa menus.  Comments in cocoa/AppDelegate.m outline the procedure.  The former src/cocoa/en.lproj/MainMenu.nib (as a directory) has been replaced by src/cocoa/Base.lproj/MainMenu.nib.  The version in this commit was generated with Xcode 11.3 with a deployment target of 10.8.  There is no longer a separate nib, src/cocoa/ja.lproj/MainMenu.nib, for Japanese.  Instead have src/cocoa/ja.lproj/MainMenu.strings to specify the Japanese versions of the menu labels.  Since Base localization is supposed to only be available in 10.8 and later, set the deployment target flags in Makefile.am to be 10.8 rather than 10.7.
src/Makefile.am
src/cocoa/AppDelegate.h [new file with mode: 0644]
src/cocoa/AppDelegate.m [new file with mode: 0644]
src/cocoa/Base.lproj/MainMenu.nib [new file with mode: 0644]
src/cocoa/Base.lproj/MainMenu.xib [moved from src/cocoa/en.lproj/MainMenu.nib/designable.nib with 65% similarity]
src/cocoa/en.lproj/MainMenu.nib/keyedobjects.nib [deleted file]
src/cocoa/ja.lproj/MainMenu.nib/designable.nib [deleted file]
src/cocoa/ja.lproj/MainMenu.nib/keyedobjects.nib [deleted file]
src/cocoa/ja.lproj/MainMenu.strings [new file with mode: 0644]