mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
fix the alignment issue with the general inspector view - data location
This commit is contained in:
parent
2e3ccd8532
commit
c0fc8001e3
2 changed files with 6 additions and 6 deletions
|
@ -53,9 +53,9 @@
|
||||||
- (void) updateBadgeWithDownload: (CGFloat) downloadRate upload: (CGFloat) uploadRate
|
- (void) updateBadgeWithDownload: (CGFloat) downloadRate upload: (CGFloat) uploadRate
|
||||||
{
|
{
|
||||||
const CGFloat displayDlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"]
|
const CGFloat displayDlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeDownloadRate"]
|
||||||
? downloadRate : 0.0;
|
? downloadRate : 0.0;
|
||||||
const CGFloat displayUlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeUploadRate"]
|
const CGFloat displayUlRate = [[NSUserDefaults standardUserDefaults] boolForKey: @"BadgeUploadRate"]
|
||||||
? uploadRate : 0.0;
|
? uploadRate : 0.0;
|
||||||
|
|
||||||
//only update if the badged values change
|
//only update if the badged values change
|
||||||
if ([(BadgeView *)[[NSApp dockTile] contentView] setRatesWithDownload: displayDlRate upload: displayUlRate])
|
if ([(BadgeView *)[[NSApp dockTile] contentView] setRatesWithDownload: displayDlRate upload: displayUlRate])
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
|
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
|
||||||
<data>
|
<data>
|
||||||
<int key="IBDocument.SystemTarget">1060</int>
|
<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.InterfaceBuilderVersion">823</string>
|
||||||
<string key="IBDocument.AppKitVersion">1038.35</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">
|
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||||
<string key="NS.object.0">823</string>
|
<string key="NS.object.0">823</string>
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
<object class="NSTextField" id="99378388">
|
<object class="NSTextField" id="99378388">
|
||||||
<reference key="NSNextResponder" ref="923140800"/>
|
<reference key="NSNextResponder" ref="923140800"/>
|
||||||
<int key="NSvFlags">266</int>
|
<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"/>
|
<reference key="NSSuperview" ref="923140800"/>
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
<object class="NSTextFieldCell" key="NSCell" id="85533753">
|
<object class="NSTextFieldCell" key="NSCell" id="85533753">
|
||||||
|
@ -230,7 +230,7 @@
|
||||||
<object class="NSButton" id="178285891">
|
<object class="NSButton" id="178285891">
|
||||||
<reference key="NSNextResponder" ref="923140800"/>
|
<reference key="NSNextResponder" ref="923140800"/>
|
||||||
<int key="NSvFlags">265</int>
|
<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"/>
|
<reference key="NSSuperview" ref="923140800"/>
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
<object class="NSButtonCell" key="NSCell" id="555982601">
|
<object class="NSButtonCell" key="NSCell" id="555982601">
|
||||||
|
|
Loading…
Reference in a new issue