Commits

Juri Pakaste  committed 6b4a846

connected the commit sheet icon view to an outlet in file's owner

  • Participants
  • Parent commits 8093116

Comments (0)

Files changed (2)

File English.lproj/Repo.xib

 								<string key="NSToolbarItemPaletteLabel">Commit All</string>
 								<string key="NSToolbarItemToolTip">Commits changes to all files.</string>
 								<nil key="NSToolbarItemView"/>
-								<object class="NSCustomResource" key="NSToolbarItemImage" id="591339977">
+								<object class="NSCustomResource" key="NSToolbarItemImage" id="88363143">
 									<string key="NSClassName">NSImage</string>
 									<string key="NSResourceName">toolbar_commitall</string>
 								</object>
 								<reference key="NSTextColor" ref="306507377"/>
 							</object>
 						</object>
-						<object class="NSImageView" id="848016560">
+						<object class="NSImageView" id="723554564">
 							<reference key="NSNextResponder" ref="601455988"/>
 							<int key="NSvFlags">268</int>
 							<object class="NSMutableSet" key="NSDragTypes">
 							<string key="NSFrame">{{20, 184}, {32, 32}}</string>
 							<reference key="NSSuperview" ref="601455988"/>
 							<bool key="NSEnabled">YES</bool>
-							<object class="NSImageCell" key="NSCell" id="705764730">
+							<object class="NSImageCell" key="NSCell" id="823687150">
 								<int key="NSCellFlags">130560</int>
 								<int key="NSCellFlags2">33554432</int>
-								<reference key="NSContents" ref="591339977"/>
+								<reference key="NSContents" ref="88363143"/>
 								<int key="NSAlign">0</int>
 								<int key="NSScale">0</int>
 								<int key="NSStyle">0</int>
 					</object>
 					<int key="connectionID">300426</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBOutletConnection" key="connection">
+						<string key="label">_commitIconField</string>
+						<reference key="source" ref="798535885"/>
+						<reference key="destination" ref="723554564"/>
+					</object>
+					<int key="connectionID">300429</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
 							<reference ref="912248093"/>
 							<reference ref="759674735"/>
 							<reference ref="895980691"/>
-							<reference ref="848016560"/>
+							<reference ref="723554564"/>
 						</object>
 						<reference key="parent" ref="519367524"/>
 					</object>
 					</object>
 					<object class="IBObjectRecord">
 						<int key="objectID">300427</int>
-						<reference key="object" ref="848016560"/>
+						<reference key="object" ref="723554564"/>
 						<object class="NSMutableArray" key="children">
 							<bool key="EncodedWithXMLCoder">YES</bool>
-							<reference ref="705764730"/>
+							<reference ref="823687150"/>
 						</object>
 						<reference key="parent" ref="601455988"/>
 					</object>
 					<object class="IBObjectRecord">
 						<int key="objectID">300428</int>
-						<reference key="object" ref="705764730"/>
-						<reference key="parent" ref="848016560"/>
+						<reference key="object" ref="823687150"/>
+						<reference key="parent" ref="723554564"/>
 					</object>
 				</object>
 			</object>
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">300428</int>
+			<int key="maxID">300429</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						<object class="NSArray" key="dict.sortedKeys">
 							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>_commitIconField</string>
 							<string>_commitPanelMessageField</string>
 							<string>_commitSheet</string>
 							<string>_commitTypeField</string>
 						</object>
 						<object class="NSMutableArray" key="dict.values">
 							<bool key="EncodedWithXMLCoder">YES</bool>
+							<string>NSImageView</string>
 							<string>NSTextView</string>
 							<string>NSPanel</string>
 							<string>NSTextField</string>

File Source/RepoController.h

     IBOutlet NSImageView *_infoImageView;
     
     IBOutlet NSPanel *_commitSheet;
-	IBOutlet NSTextField *_commitTypeField;
+    IBOutlet NSTextField *_commitTypeField;
+    IBOutlet NSImageView *_commitIconField;
     IBOutlet NSTextView *_commitPanelMessageField;
     
     IBOutlet NSPanel *_pushSheet;