fix the alignment issue with the general inspector view - data location

This commit is contained in:
Mitchell Livingston 2011-01-24 00:32:42 +00:00
parent 2e3ccd8532
commit c0fc8001e3
2 changed files with 6 additions and 6 deletions

View File

@ -53,9 +53,9 @@
- (void) updateBadgeWithDownload: (CGFloat) downloadRate upload: (CGFloat) uploadRate
{
const CGFloat displayDlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"]
? downloadRate : 0.0;
? downloadRate : 0.0;
const CGFloat displayUlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeUploadRate"]
? uploadRate : 0.0;
? uploadRate : 0.0;
//only update if the badged values change
if ([(BadgeView *)[[NSApp dockTile] contentView] setRatesWithDownload: displayDlRate upload: displayUlRate])

View File

@ -2,10 +2,10 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1060</int>
<string key="IBDocument.SystemVersion">10H574</string>
<string key="IBDocument.SystemVersion">10J567</string>
<string key="IBDocument.InterfaceBuilderVersion">823</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<string key="IBDocument.HIToolboxVersion">462.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">823</string>
@ -197,7 +197,7 @@
<object class="NSTextField" id="99378388">
<reference key="NSNextResponder" ref="923140800"/>
<int key="NSvFlags">266</int>
<string key="NSFrame">{{79, 11}, {242, 14}}</string>
<string key="NSFrame">{{79, 10}, {242, 14}}</string>
<reference key="NSSuperview" ref="923140800"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="85533753">
@ -230,7 +230,7 @@
<object class="NSButton" id="178285891">
<reference key="NSNextResponder" ref="923140800"/>
<int key="NSvFlags">265</int>
<string key="NSFrame">{{326, 11}, {14, 14}}</string>
<string key="NSFrame">{{326, 10}, {14, 14}}</string>
<reference key="NSSuperview" ref="923140800"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="555982601">