Skip to content

Commit

Permalink
Minor UI improvements to commit count status label.
Browse files Browse the repository at this point in the history
  • Loading branch information
jphalip committed Jun 2, 2012
1 parent f38201d commit 24d05af
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 13 deletions.
98 changes: 85 additions & 13 deletions English.lproj/RepositoryWindow.xib
Expand Up @@ -3,12 +3,12 @@
<data>
<int key="IBDocument.SystemTarget">1070</int>
<string key="IBDocument.SystemVersion">11D50</string>
<string key="IBDocument.InterfaceBuilderVersion">2177</string>
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
<string key="IBDocument.AppKitVersion">1138.32</string>
<string key="IBDocument.HIToolboxVersion">568.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">2177</string>
<string key="NS.object.0">2182</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -109,10 +109,9 @@
<string key="NSToolbarItemPaletteLabel">Clone Repository To</string>
<nil key="NSToolbarItemToolTip"/>
<object class="NSButton" key="NSToolbarItemView" id="703553818">
<reference key="NSNextResponder"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{38, 14}, {40, 25}}</string>
<reference key="NSSuperview"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="64590231">
<int key="NSCellFlags">-2080244224</int>
Expand Down Expand Up @@ -155,10 +154,9 @@
<string key="NSToolbarItemPaletteLabel">Refresh</string>
<nil key="NSToolbarItemToolTip"/>
<object class="NSButton" key="NSToolbarItemView" id="438380428">
<reference key="NSNextResponder"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{8, 14}, {32, 25}}</string>
<reference key="NSSuperview"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="604536609">
<int key="NSCellFlags">-2080244224</int>
Expand Down Expand Up @@ -197,10 +195,9 @@
<string key="NSToolbarItemPaletteLabel">View</string>
<nil key="NSToolbarItemToolTip"/>
<object class="NSSegmentedControl" key="NSToolbarItemView" id="371591001">
<reference key="NSNextResponder"/>
<nil key="NSNextResponder"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{0, 14}, {90, 25}}</string>
<reference key="NSSuperview"/>
<bool key="NSEnabled">YES</bool>
<object class="NSSegmentedCell" key="NSCell" id="399933706">
<int key="NSCellFlags">67239424</int>
Expand Down Expand Up @@ -438,7 +435,7 @@
<reference key="NSNextResponder" ref="44848571"/>
<int key="NSvFlags">1292</int>
<object class="NSPSMatrix" key="NSDrawMatrix"/>
<string key="NSFrame">{{20, 7}, {16, 16}}</string>
<string key="NSFrame">{{225, 8}, {16, 16}}</string>
<reference key="NSSuperview" ref="44848571"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="508249619"/>
Expand All @@ -448,13 +445,14 @@
<object class="NSTextField" id="508249619">
<reference key="NSNextResponder" ref="44848571"/>
<int key="NSvFlags">266</int>
<string key="NSFrame">{{41, 8}, {188, 14}}</string>
<string key="NSFrame">{{32, 8}, {188, 14}}</string>
<reference key="NSSuperview" ref="44848571"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="708164574">
<int key="NSCellFlags">67239488</int>
<int key="NSCellFlags2">4327424</int>
<int key="NSCellFlags2">71436288</int>
<string key="NSContents">Label</string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
Expand Down Expand Up @@ -483,7 +481,7 @@
</object>
</object>
</object>
<string key="NSFrame">{{552, 0}, {246, 31}}</string>
<string key="NSFrame">{{644, 0}, {246, 31}}</string>
<reference key="NSSuperview" ref="751230759"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="490597384"/>
Expand All @@ -495,7 +493,7 @@
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="120427370"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
<string key="NSMinSize">{600, 528}</string>
<string key="NSMaxSize">{10000000000000, 10000000000000}</string>
<string key="NSFrameAutosaveName">GitX</string>
Expand Down Expand Up @@ -1010,6 +1008,80 @@
</object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>contentSplitView</string>
<string>finderItem</string>
<string>mainSplitView</string>
<string>progressIndicator</string>
<string>sourceListControlsView</string>
<string>sourceSplitView</string>
<string>statusField</string>
<string>terminalItem</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSView</string>
<string>NSToolbarItem</string>
<string>NSSplitView</string>
<string>NSProgressIndicator</string>
<string>NSView</string>
<string>NSView</string>
<string>NSTextField</string>
<string>NSToolbarItem</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>contentSplitView</string>
<string>finderItem</string>
<string>mainSplitView</string>
<string>progressIndicator</string>
<string>sourceListControlsView</string>
<string>sourceSplitView</string>
<string>statusField</string>
<string>terminalItem</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">contentSplitView</string>
<string key="candidateClassName">NSView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">finderItem</string>
<string key="candidateClassName">NSToolbarItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">mainSplitView</string>
<string key="candidateClassName">NSSplitView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">progressIndicator</string>
<string key="candidateClassName">NSProgressIndicator</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">sourceListControlsView</string>
<string key="candidateClassName">NSView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">sourceSplitView</string>
<string key="candidateClassName">NSView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">statusField</string>
<string key="candidateClassName">NSTextField</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">terminalItem</string>
<string key="candidateClassName">NSToolbarItem</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/PBGitWindowController.h</string>
Expand Down
2 changes: 2 additions & 0 deletions PBGitWindowController.m
Expand Up @@ -254,10 +254,12 @@ - (void) updateStatus
if (isBusy) {
[progressIndicator startAnimation:self];
[progressIndicator setHidden:NO];
[statusField setTextColor:[NSColor blueColor]];
}
else {
[progressIndicator stopAnimation:self];
[progressIndicator setHidden:YES];
[statusField setTextColor:[NSColor blackColor]];
}
}

Expand Down

0 comments on commit 24d05af

Please sign in to comment.