Update donation menu

CQTexperiment
Christopher Snowhill 2020-05-02 00:53:08 -07:00
parent fbbbda70d6
commit 3b41af0dc2
3 changed files with 24 additions and 4 deletions

View File

@ -75,6 +75,7 @@
- (IBAction)savePlaylist:(id)sender; - (IBAction)savePlaylist:(id)sender;
- (IBAction)donate:(id)sender; - (IBAction)donate:(id)sender;
- (IBAction)patreon:(id)sender;
- (IBAction)feedback:(id)sender; - (IBAction)feedback:(id)sender;
- (IBAction)toggleInfoDrawer:(id)sender; - (IBAction)toggleInfoDrawer:(id)sender;

View File

@ -335,6 +335,11 @@
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.paypal.me/kode54"]]; [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.paypal.me/kode54"]];
} }
- (IBAction)patreon:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.patreon.com/kode54"]];
}
- (IBAction)feedback:(id)sender - (IBAction)feedback:(id)sender
{ {
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]; NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];

View File

@ -50,7 +50,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="KWC-Ti-8KY"> <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="KWC-Ti-8KY">
<rect key="frame" x="0.0" y="0.0" width="800" height="377"/> <rect key="frame" x="0.0" y="0.0" width="800" height="377"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" alternatingRowBackgroundColors="YES" autosaveName="Playlist" rowHeight="18" headerView="1517" id="207" customClass="PlaylistView"> <tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" alternatingRowBackgroundColors="YES" autosaveName="Playlist" rowHeight="18" headerView="1517" id="207" customClass="PlaylistView">
<rect key="frame" x="0.0" y="0.0" width="800" height="360"/> <rect key="frame" x="0.0" y="0.0" width="800" height="360"/>
@ -786,10 +786,24 @@
<modifierMask key="keyEquivalentModifierMask" command="YES"/> <modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem> </menuItem>
<menuItem title="Support Cog..." id="751"> <menuItem title="Support Cog..." id="751">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" id="kue-p2-G0Y">
<items>
<menuItem title="PayPal" id="xcs-tx-Viz">
<modifierMask key="keyEquivalentModifierMask"/>
<connections> <connections>
<action selector="donate:" target="226" id="752"/> <action selector="donate:" target="-1" id="4Br-dF-by5"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title="Patreon" id="Bls-an-3wW">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="patreon:" target="-1" id="Hgn-8M-pW2"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>
<menuItem title="Send Feedback..." id="303"> <menuItem title="Send Feedback..." id="303">
<connections> <connections>
<action selector="feedback:" target="226" id="GSH-G5-qM1"/> <action selector="feedback:" target="226" id="GSH-G5-qM1"/>