Browse Source

Update donation menu

master
Christopher Snowhill 4 weeks ago
parent
commit
3b41af0dc2
3 changed files with 24 additions and 4 deletions
  1. +1
    -0
      Application/AppController.h
  2. +5
    -0
      Application/AppController.m
  3. +18
    -4
      Base.lproj/MainMenu.xib

+ 1
- 0
Application/AppController.h View File

@@ -75,6 +75,7 @@
- (IBAction)savePlaylist:(id)sender;

- (IBAction)donate:(id)sender;
- (IBAction)patreon:(id)sender;
- (IBAction)feedback:(id)sender;

- (IBAction)toggleInfoDrawer:(id)sender;


+ 5
- 0
Application/AppController.m View File

@@ -335,6 +335,11 @@
[[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
{
NSString *version = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"];


+ 18
- 4
Base.lproj/MainMenu.xib View File

@@ -50,7 +50,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="KWC-Ti-8KY">
<rect key="frame" x="0.0" y="0.0" width="800" height="377"/>
<autoresizingMask key="autoresizingMask"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<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"/>
@@ -786,9 +786,23 @@
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<menuItem title="Support Cog..." id="751">
<connections>
<action selector="donate:" target="226" id="752"/>
</connections>
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" id="kue-p2-G0Y">
<items>
<menuItem title="PayPal" id="xcs-tx-Viz">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="donate:" target="-1" id="4Br-dF-by5"/>
</connections>
</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">
<connections>


Loading…
Cancel
Save