Skip to content

Commit 26c3cd1

Browse files
committed
HistoryView: Add "SHA" Column and make it hidden by default
1 parent 5fc5990 commit 26c3cd1

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

PBGitHistoryView.xib

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<string>date</string>
7878
<string>dateString</string>
7979
<string>arran</string>
80+
<string>realSha</string>
8081
</object>
8182
<string key="NSObjectClassName">PBGitCommit</string>
8283
<object class="_NSManagedProxy" key="_NSManagedProxy"/>
@@ -270,7 +271,7 @@
270271
<int key="NSCellFlags2">0</int>
271272
<string key="NSContents">Date</string>
272273
<reference key="NSSupport" ref="26"/>
273-
<object class="NSColor" key="NSBackgroundColor">
274+
<object class="NSColor" key="NSBackgroundColor" id="216155638">
274275
<int key="NSColorSpace">6</int>
275276
<string key="NSCatalogName">System</string>
276277
<string key="NSColorName">headerColor</string>
@@ -294,6 +295,34 @@
294295
<bool key="NSIsResizeable">YES</bool>
295296
<reference key="NSTableView" ref="254268962"/>
296297
</object>
298+
<object class="NSTableColumn" id="456964926">
299+
<string key="NSIdentifier">SHAColumn</string>
300+
<double key="NSWidth">6.400000e+01</double>
301+
<double key="NSMinWidth">1.000000e+01</double>
302+
<double key="NSMaxWidth">3.402823e+38</double>
303+
<object class="NSTableHeaderCell" key="NSHeaderCell">
304+
<int key="NSCellFlags">75628032</int>
305+
<int key="NSCellFlags2">0</int>
306+
<string key="NSContents">SHA</string>
307+
<reference key="NSSupport" ref="26"/>
308+
<reference key="NSBackgroundColor" ref="216155638"/>
309+
<reference key="NSTextColor" ref="160578461"/>
310+
</object>
311+
<object class="NSTextFieldCell" key="NSDataCell" id="671609291">
312+
<int key="NSCellFlags">338820672</int>
313+
<int key="NSCellFlags2">1024</int>
314+
<string key="NSContents">Text Cell</string>
315+
<reference key="NSSupport" ref="924107556"/>
316+
<reference key="NSControlView" ref="254268962"/>
317+
<reference key="NSBackgroundColor" ref="827363147"/>
318+
<reference key="NSTextColor" ref="57062640"/>
319+
</object>
320+
<int key="NSResizingMask">3</int>
321+
<bool key="NSIsResizeable">YES</bool>
322+
<bool key="NSIsEditable">NO</bool>
323+
<reference key="NSTableView" ref="254268962"/>
324+
<bool key="NSHidden">YES</bool>
325+
</object>
297326
</object>
298327
<double key="NSIntercellSpacingWidth">3.000000e+00</double>
299328
<double key="NSIntercellSpacingHeight">2.000000e+00</double>
@@ -2101,6 +2130,22 @@
21012130
</object>
21022131
<int key="connectionID">275</int>
21032132
</object>
2133+
<object class="IBConnectionRecord">
2134+
<object class="IBBindingConnection" key="connection">
2135+
<string key="label">value: arrangedObjects.realSha</string>
2136+
<reference key="source" ref="456964926"/>
2137+
<reference key="destination" ref="391209158"/>
2138+
<object class="NSNibBindingConnector" key="connector">
2139+
<reference key="NSSource" ref="456964926"/>
2140+
<reference key="NSDestination" ref="391209158"/>
2141+
<string key="NSLabel">value: arrangedObjects.realSha</string>
2142+
<string key="NSBinding">value</string>
2143+
<string key="NSKeyPath">arrangedObjects.realSha</string>
2144+
<int key="NSNibBindingConnectorVersion">2</int>
2145+
</object>
2146+
</object>
2147+
<int key="connectionID">290</int>
2148+
</object>
21042149
</object>
21052150
<object class="IBMutableOrderedSet" key="objectRecords">
21062151
<object class="NSArray" key="orderedObjects">
@@ -2494,6 +2539,7 @@
24942539
<reference ref="792589327"/>
24952540
<reference ref="1025472344"/>
24962541
<reference ref="976830280"/>
2542+
<reference ref="456964926"/>
24972543
</object>
24982544
<reference key="parent" ref="663765878"/>
24992545
<string key="objectName">Commit List</string>
@@ -2716,6 +2762,20 @@
27162762
<reference key="object" ref="217429948"/>
27172763
<reference key="parent" ref="27300806"/>
27182764
</object>
2765+
<object class="IBObjectRecord">
2766+
<int key="objectID">287</int>
2767+
<reference key="object" ref="456964926"/>
2768+
<object class="NSMutableArray" key="children">
2769+
<bool key="EncodedWithXMLCoder">YES</bool>
2770+
<reference ref="671609291"/>
2771+
</object>
2772+
<reference key="parent" ref="254268962"/>
2773+
</object>
2774+
<object class="IBObjectRecord">
2775+
<int key="objectID">288</int>
2776+
<reference key="object" ref="671609291"/>
2777+
<reference key="parent" ref="456964926"/>
2778+
</object>
27192779
</object>
27202780
</object>
27212781
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -2996,7 +3056,7 @@
29963056
</object>
29973057
</object>
29983058
<nil key="sourceID"/>
2999-
<int key="maxID">286</int>
3059+
<int key="maxID">290</int>
30003060
</object>
30013061
<object class="IBClassDescriber" key="IBDocument.Classes">
30023062
<object class="NSMutableArray" key="referencedPartialClassDescriptions">

0 commit comments

Comments
 (0)