Skip to content

Commit

Permalink
Compatibility with macOS 10.12 Sierra.
Browse files Browse the repository at this point in the history
This fixes issue #1.
  • Loading branch information
jelmervdl committed Jul 24, 2016
1 parent 8d04717 commit 7f8e3ef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions Nostalgy4MailApp/English.lproj/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@
<key>CFBundleSignature</key>
<string>HAJO</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<string>1.1</string>
<key>NSHumanReadableCopyright</key>
<string>(c) Hajo Nils Krabbenhöft</string>
<key>NSPrincipalClass</key>
<string>BundleLoader</string>
<key>SIMBLApplicationIdentifier</key>
<array>
<string>com.apple.mail</string>
</array>
<key>Supported10.12PluginCompatibilityUUIDs</key>
<array>
<string>36CCB8BB-2207-455E-89BC-B9D6E47ABB5B</string>
</array>
<key>SupportedPluginCompatibilityUUIDs</key>
<array>
<string>0CB5F2A0-A173-4809-86E3-9317261F1745</string>
Expand All @@ -37,8 +43,7 @@
<string>04D6EC0A-52FF-4BBE-9896-C0B5FB851BBA</string>
<string>D1EFE124-86FF-4751-BF00-80B2C0D6F2E4</string>
<string>71562B89-0D90-4588-8E94-A75B701D6443</string>
<string>36CCB8BB-2207-455E-89BC-B9D6E47ABB5B</string>
</array>
<key>NSHumanReadableCopyright</key>
<string>(c) Hajo Nils Krabbenhöft</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Nostalgy4MailApp/PrivateMailHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@end

@interface MessageViewer : NSResponder
@property(retain, nonatomic) MessageListController *messageListController;
@property(readonly, nonatomic) TableViewManager *tableManager;
- (void)copyMessagesToMailbox:(id)arg1;
- (void)moveMessagesToMailbox:(id)arg1;
- (void)archiveMessages:(id)arg1;
Expand Down
4 changes: 2 additions & 2 deletions Nostalgy4MailApp/SearchManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ -(IBAction)nextMessage:(id)sender {
MailApp *mailApp = (MailApp*)[NSApplication sharedApplication];
NSMutableArray *viewers = [mailApp messageViewers];
MessageViewer *viewer = [viewers firstObject];
[[[viewer messageListController] tableViewManager] selectNextMessage:NO];
[viewer.tableManager selectNextMessage:NO];
}

-(IBAction)previousMessage:(id)sender {
MailApp *mailApp = (MailApp*)[NSApplication sharedApplication];
NSMutableArray *viewers = [mailApp messageViewers];
MessageViewer *viewer = [viewers firstObject];
[[[viewer messageListController] tableViewManager] selectPreviousMessage:NO];
[viewer.tableManager selectPreviousMessage:NO];
}

-(IBAction)focusSearchField:(id)sender {
Expand Down

0 comments on commit 7f8e3ef

Please sign in to comment.