Make both status lines in the Network prefs match.

This commit is contained in:
Mitchell Livingston 2006-10-04 01:46:20 +00:00
parent 9d1f714259
commit d0c1460c1b
5 changed files with 4 additions and 8 deletions

View File

@ -7,7 +7,6 @@
objects = {
/* Begin PBXBuildFile section */
35B037B60AC59C4000A10FDF /* Check.png in Resources */ = {isa = PBXBuildFile; fileRef = 35B037A60AC59BC600A10FDF /* Check.png */; };
35B038130AC5B6EB00A10FDF /* ResumeNoWaitOn.png in Resources */ = {isa = PBXBuildFile; fileRef = 35B037F90AC5B53800A10FDF /* ResumeNoWaitOn.png */; };
35B038140AC5B6EC00A10FDF /* ResumeNoWaitOff.png in Resources */ = {isa = PBXBuildFile; fileRef = 35B037FA0AC5B53800A10FDF /* ResumeNoWaitOff.png */; };
4D043A7F090AE979009FEDA8 /* TransmissionDocument.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D043A7E090AE979009FEDA8 /* TransmissionDocument.icns */; };
@ -222,7 +221,6 @@
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
32CA4F630368D1EE00C91783 /* Transmission_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Transmission_Prefix.pch; path = macosx/Transmission_Prefix.pch; sourceTree = "<group>"; };
35B037A60AC59BC600A10FDF /* Check.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Check.png; path = macosx/Images/Check.png; sourceTree = "<group>"; };
35B037F90AC5B53800A10FDF /* ResumeNoWaitOn.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeNoWaitOn.png; path = macosx/Images/ResumeNoWaitOn.png; sourceTree = "<group>"; };
35B037FA0AC5B53800A10FDF /* ResumeNoWaitOff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeNoWaitOff.png; path = macosx/Images/ResumeNoWaitOff.png; sourceTree = "<group>"; };
4D043A7E090AE979009FEDA8 /* TransmissionDocument.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = TransmissionDocument.icns; path = macosx/Images/TransmissionDocument.icns; sourceTree = "<group>"; };
@ -505,7 +503,6 @@
A2305A7D0A3DC9E400AB2D77 /* ProgressBarBlue.png */,
A2305A7E0A3DC9E400AB2D77 /* ProgressBarGray.png */,
A2305A7F0A3DC9E400AB2D77 /* ProgressBarGreen.png */,
35B037A60AC59BC600A10FDF /* Check.png */,
A260C9AB0AA3B8D700FDC1B7 /* Error.tiff */,
A29C8B320ACC6E93000ED9F9 /* YellowDot.tiff */,
A2D4F0840A915F7200890C32 /* GreenDot.tiff */,
@ -847,7 +844,6 @@
A2D4F0850A915F7200890C32 /* GreenDot.tiff in Resources */,
A21567ED0A9A5034004DECD6 /* MessageWindow.nib in Resources */,
A260C9AC0AA3B8D700FDC1B7 /* Error.tiff in Resources */,
35B037B60AC59C4000A10FDF /* Check.png in Resources */,
35B038130AC5B6EB00A10FDF /* ResumeNoWaitOn.png in Resources */,
35B038140AC5B6EC00A10FDF /* ResumeNoWaitOff.png in Resources */,
A29C8B330ACC6E93000ED9F9 /* YellowDot.tiff in Resources */,

View File

@ -13,7 +13,7 @@
<key>41</key>
<string>213 415 563 317 0 0 1152 842 </string>
<key>66</key>
<string>294 499 563 159 0 0 1152 842 </string>
<string>162 503 563 144 0 0 1152 842 </string>
</dict>
<key>IBFramework Version</key>
<string>446.1</string>
@ -26,6 +26,6 @@
<integer>66</integer>
</array>
<key>IBSystem Version</key>
<string>8J135</string>
<string>8L127</string>
</dict>
</plist>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

View File

@ -428,12 +428,12 @@
if (status == 2)
{
[fNatStatusField setStringValue: @"Port successfully mapped"];
[fNatStatusImage setImage: [NSImage imageNamed: @"Check.png"]];
[fNatStatusImage setImage: [NSImage imageNamed: @"GreenDot.png"]];
}
else if (status == 3 || status == 4)
{
[fNatStatusField setStringValue: @"Error mapping port"];
[fNatStatusImage setImage: [NSImage imageNamed: @"Error.tiff"]];
[fNatStatusImage setImage: [NSImage imageNamed: @"RedDot.tiff"]];
}
else
{