Skip to content

Commit

Permalink
Merge pull request #4 from fuerst/master
Browse files Browse the repository at this point in the history
Add shortcut for Reply command.
  • Loading branch information
jelmervdl authored Jan 24, 2017
2 parents 367fa9a + e95be26 commit 0ef8b36
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Nostalgy4MailApp/SearchManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ - (IBAction)archiveMessages:(id)sender {
[viewer archiveMessages:nil];
}

- (IBAction)replyMessage:(id)sender {
MessageViewer *viewer = [self frontmostMessageViewer];
[viewer replyMessage:nil];
}

- (IBAction)replyAllMessage:(id)sender {
MessageViewer *viewer = [self frontmostMessageViewer];
[viewer replyAllMessage:nil];
Expand Down
16 changes: 11 additions & 5 deletions Nostalgy4MailApp/SearchManager.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11201" systemVersion="16B2327e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1050" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11201"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11762"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SearchManager">
Expand Down Expand Up @@ -41,10 +41,16 @@
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="VUk-TO-fiz"/>
<menuItem title="Reply All" keyEquivalent="r" id="iz1-BE-8dI">
<menuItem title="Reply" keyEquivalent="r" id="iz1-BE-8dI">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="replyAllMessage:" target="-2" id="rIx-4d-x97"/>
<action selector="replyMessage:" target="-2" id="PhT-e2-Gba"/>
</connections>
</menuItem>
<menuItem title="Reply All" keyEquivalent="a" id="3fz-61-Tqh">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="replyAllMessage:" target="-2" id="0tv-eE-BfF"/>
</connections>
</menuItem>
<menuItem title="Forward" keyEquivalent="f" id="VCM-02-nRT">
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ in progress. Tested with Mail for 10.11, 10.12 and 10.12.2 Beta.
<table>
<tr><th>Key</th><th>Action</th></tr>
<tr><td>c</td><td>Compose new message</td></tr>
<tr><td>r</td><td>Reply All</td></tr>
<tr><td>r</td><td>Reply</td></tr>
<tr><td>a</td><td>Reply All</td></tr>
<tr><td>f</td><td>Forward</td></tr>
<tr><td>s</td><td>Flag (Star)</td></tr>
<tr><td>e</td><td>Archive</td></tr>
Expand Down

0 comments on commit 0ef8b36

Please sign in to comment.