Add Donate to App Camp for Girls menu item to the Help menu. It opens the browser to https://appcamp4girls.com/contribute/

Fix #181.
This commit is contained in:
Brent Simmons 2018-02-12 13:10:13 -08:00
parent 09b8cd7811
commit 9adf047525
2 changed files with 14 additions and 2 deletions

View File

@ -442,6 +442,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
Browser.open("https://ranchero.com/evergreen/help/1.0/", inBackground: false)
}
@IBAction func donateToAppCampForGirls(_ sender: Any?) {
Browser.open("https://appcamp4girls.com/contribute/", inBackground: false)
}
@IBAction func debugDropConditionalGetInfo(_ sender: Any?) {
#if DEBUG
AccountManager.shared.accounts.forEach{ $0.debugDropConditionalGetInfo() }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14087.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14087.3"/>
</dependencies>
<scenes>
<!--Application-->
@ -538,6 +538,13 @@
<action selector="openTechnotes:" target="Ady-hI-5gd" id="M7A-Qg-mH8"/>
</connections>
</menuItem>
<menuItem isSeparatorItem="YES" id="sHh-z2-8AO"/>
<menuItem title="Donate to App Camp for Girls" id="Vrr-S1-18B">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="donateToAppCampForGirls:" target="Ady-hI-5gd" id="aYY-R7-b1U"/>
</connections>
</menuItem>
</items>
</menu>
</menuItem>