Skip to content

Commit 7d4bb1d

Browse files
committed
Update MainMenu.xib
- rewire actions to the first responder - set the owner as NSApplication, and set its delegate.
1 parent 7daefd7 commit 7d4bb1d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

English.lproj/MainMenu.xib

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9060"/>
66
</dependencies>
77
<objects>
8-
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
8+
<customObject id="-2" userLabel="File's Owner" customClass="ApplicationController"/>
9+
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
10+
<customObject id="-3" userLabel="Application">
911
<connections>
10-
<outlet property="delegate" destination="205" id="206"/>
12+
<outlet property="delegate" destination="205" id="2IS-vA-KKo"/>
1113
</connections>
1214
</customObject>
13-
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
14-
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
1515
<menu title="MainMenu" systemMenu="main" id="29" userLabel="MainMenu">
1616
<items>
1717
<menuItem title="GitX" id="56">
@@ -20,20 +20,20 @@
2020
<menuItem title="About GitX" id="58">
2121
<modifierMask key="keyEquivalentModifierMask"/>
2222
<connections>
23-
<action selector="showAboutPanel:" target="205" id="142"/>
23+
<action selector="showAboutPanel:" target="-1" id="ivG-FU-hGW"/>
2424
</connections>
2525
</menuItem>
2626
<menuItem isSeparatorItem="YES" id="196">
2727
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
2828
</menuItem>
2929
<menuItem title="Enable Terminal Usage…" id="909">
3030
<connections>
31-
<action selector="installCliTool:" target="205" id="910"/>
31+
<action selector="installCliTool:" target="-1" id="A89-7Z-hf3"/>
3232
</connections>
3333
</menuItem>
3434
<menuItem title="Preferences…" keyEquivalent="," id="129">
3535
<connections>
36-
<action selector="openPreferencesWindow:" target="205" id="933"/>
36+
<action selector="openPreferencesWindow:" target="-1" id="wRi-Ra-7Ua"/>
3737
</connections>
3838
</menuItem>
3939
<menuItem title="Check for Updates…" id="919">
@@ -53,26 +53,26 @@
5353
</menuItem>
5454
<menuItem title="Hide GitX" keyEquivalent="h" id="134">
5555
<connections>
56-
<action selector="hide:" target="-2" id="152"/>
56+
<action selector="hide:" target="-1" id="f2f-Ce-Bqz"/>
5757
</connections>
5858
</menuItem>
5959
<menuItem title="Hide Others" keyEquivalent="h" id="145">
6060
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
6161
<connections>
62-
<action selector="hideOtherApplications:" target="-2" id="146"/>
62+
<action selector="hideOtherApplications:" target="-1" id="xwC-ZO-vrM"/>
6363
</connections>
6464
</menuItem>
6565
<menuItem title="Show All" id="150">
6666
<connections>
67-
<action selector="unhideAllApplications:" target="-2" id="153"/>
67+
<action selector="unhideAllApplications:" target="-1" id="N7a-he-BiT"/>
6868
</connections>
6969
</menuItem>
7070
<menuItem isSeparatorItem="YES" id="149">
7171
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
7272
</menuItem>
7373
<menuItem title="Quit GitX" keyEquivalent="q" id="136">
7474
<connections>
75-
<action selector="terminate:" target="-2" id="139"/>
75+
<action selector="terminate:" target="-1" id="cQq-Bb-5Zs"/>
7676
</connections>
7777
</menuItem>
7878
</items>
@@ -440,7 +440,7 @@
440440
</menuItem>
441441
</items>
442442
</menu>
443-
<customObject id="205" userLabel="ApplicationController" customClass="ApplicationController">
443+
<customObject id="205" userLabel="Application Delegate" customClass="ApplicationController">
444444
<connections>
445445
<outlet property="firstResponder" destination="-2" id="868"/>
446446
</connections>

0 commit comments

Comments
 (0)