mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-25 17:12:23 +01:00
Create Debug menu. Fix #139.
This commit is contained in:
parent
1864f60e0b
commit
cb7f324922
@ -406,6 +406,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||||||
markEverywhereAsRead(with: mainWindowController!.window!)
|
markEverywhereAsRead(with: mainWindowController!.window!)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@IBAction func debugDropConditionalGetInfo(_ sender: Any?) {
|
||||||
|
#if DEBUG
|
||||||
|
print("debug")
|
||||||
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension AppDelegate {
|
private extension AppDelegate {
|
||||||
|
@ -392,7 +392,7 @@
|
|||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem title="Go" id="FPs-q4-hLT" userLabel="Article">
|
<menuItem title="Go" id="FPs-q4-hLT">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<menu key="submenu" title="Go" id="NQW-Ph-lw2">
|
<menu key="submenu" title="Go" id="NQW-Ph-lw2">
|
||||||
<items>
|
<items>
|
||||||
@ -460,6 +460,19 @@
|
|||||||
</items>
|
</items>
|
||||||
</menu>
|
</menu>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
|
<menuItem title="Debug" id="UqE-mp-gtV" userLabel="Debug">
|
||||||
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
|
<menu key="submenu" title="Debug" id="s1g-zr-8Oi">
|
||||||
|
<items>
|
||||||
|
<menuItem title="Drop Conditional Get Info" id="ek9-OK-xbc">
|
||||||
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
|
<connections>
|
||||||
|
<action selector="debugDropConditionalGetInfo:" target="Voe-Tx-rLC" id="MTC-K8-rkx"/>
|
||||||
|
</connections>
|
||||||
|
</menuItem>
|
||||||
|
</items>
|
||||||
|
</menu>
|
||||||
|
</menuItem>
|
||||||
<menuItem title="Window" id="aUF-d1-5bR">
|
<menuItem title="Window" id="aUF-d1-5bR">
|
||||||
<modifierMask key="keyEquivalentModifierMask"/>
|
<modifierMask key="keyEquivalentModifierMask"/>
|
||||||
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
|
<menu key="submenu" title="Window" systemMenu="window" id="Td7-aD-5lo">
|
||||||
|
Loading…
Reference in New Issue
Block a user