Changeset 14638


Ignore:
Timestamp:
Dec 27, 2015, 9:50:02 PM (6 years ago)
Author:
mikedld
Message:

#6041: Use AppKit? status light icons (patch by mattrajca)

Location:
trunk/macosx
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r14161 r14638  
    422422        case PORT_STATUS_OPEN:
    423423            [fPortStatusField setStringValue: NSLocalizedString(@"Port is open", "Preferences -> Network -> port status")];
    424             [fPortStatusImage setImage: [NSImage imageNamed: @"GreenDot"]];
     424            [fPortStatusImage setImage: [NSImage imageNamed: NSImageNameStatusAvailable]];
    425425            break;
    426426        case PORT_STATUS_CLOSED:
    427427            [fPortStatusField setStringValue: NSLocalizedString(@"Port is closed", "Preferences -> Network -> port status")];
    428             [fPortStatusImage setImage: [NSImage imageNamed: @"RedDot"]];
     428            [fPortStatusImage setImage: [NSImage imageNamed: NSImageNameStatusUnavailable]];
    429429            break;
    430430        case PORT_STATUS_ERROR:
    431431            [fPortStatusField setStringValue: NSLocalizedString(@"Port check site is down", "Preferences -> Network -> port status")];
    432             [fPortStatusImage setImage: [NSImage imageNamed: @"YellowDot"]];
     432            [fPortStatusImage setImage: [NSImage imageNamed: NSImageNameStatusPartiallyAvailable]];
    433433            break;
    434434        default:
  • trunk/macosx/da.lproj/PrefsWindow.xib

    r14626 r14638  
    18271827                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18281828                    <autoresizingMask key="autoresizingMask"/>
    1829                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1829                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18301830                </imageView>
    18311831                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    23622362        <image name="NSAddTemplate" width="11" height="11"/>
    23632363        <image name="NSRemoveTemplate" width="11" height="11"/>
     2364        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    23642365        <image name="TurtleTemplate" width="18" height="18"/>
    2365         <image name="YellowDot" width="16" height="16"/>
    23662366    </resources>
    23672367</document>
  • trunk/macosx/de.lproj/PrefsWindow.xib

    r14626 r14638  
    18331833                    <rect key="frame" x="210" y="154" width="14" height="14"/>
    18341834                    <autoresizingMask key="autoresizingMask"/>
    1835                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1835                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18361836                </imageView>
    18371837                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22912291        <image name="NSAddTemplate" width="11" height="11"/>
    22922292        <image name="NSRemoveTemplate" width="11" height="11"/>
     2293        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22932294        <image name="TurtleTemplate" width="18" height="18"/>
    2294         <image name="YellowDot" width="16" height="16"/>
    22952295    </resources>
    22962296</document>
  • trunk/macosx/en.lproj/PrefsWindow.xib

    r14626 r14638  
    18271827                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18281828                    <autoresizingMask key="autoresizingMask"/>
    1829                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1829                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18301830                </imageView>
    18311831                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    23612361        <image name="NSAddTemplate" width="11" height="11"/>
    23622362        <image name="NSRemoveTemplate" width="11" height="11"/>
     2363        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    23632364        <image name="TurtleTemplate" width="18" height="18"/>
    2364         <image name="YellowDot" width="16" height="16"/>
    23652365    </resources>
    23662366</document>
  • trunk/macosx/es.lproj/PrefsWindow.xib

    r14626 r14638  
    18291829                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18301830                    <autoresizingMask key="autoresizingMask"/>
    1831                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1831                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18321832                </imageView>
    18331833                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22672267        <image name="NSAddTemplate" width="11" height="11"/>
    22682268        <image name="NSRemoveTemplate" width="11" height="11"/>
     2269        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22692270        <image name="TurtleTemplate" width="18" height="18"/>
    2270         <image name="YellowDot" width="16" height="16"/>
    22712271    </resources>
    22722272</document>
  • trunk/macosx/fr.lproj/PrefsWindow.xib

    r14626 r14638  
    18311831                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18321832                    <autoresizingMask key="autoresizingMask"/>
    1833                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1833                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18341834                </imageView>
    18351835                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22732273        <image name="NSAddTemplate" width="11" height="11"/>
    22742274        <image name="NSRemoveTemplate" width="11" height="11"/>
     2275        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22752276        <image name="TurtleTemplate" width="18" height="18"/>
    2276         <image name="YellowDot" width="16" height="16"/>
    22772277    </resources>
    22782278</document>
  • trunk/macosx/it.lproj/PrefsWindow.xib

    r14626 r14638  
    18271827                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18281828                    <autoresizingMask key="autoresizingMask"/>
    1829                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1829                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18301830                </imageView>
    18311831                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22812281        <image name="NSAddTemplate" width="11" height="11"/>
    22822282        <image name="NSRemoveTemplate" width="11" height="11"/>
     2283        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22832284        <image name="TurtleTemplate" width="18" height="18"/>
    2284         <image name="YellowDot" width="16" height="16"/>
    22852285    </resources>
    22862286</document>
  • trunk/macosx/nl.lproj/PrefsWindow.xib

    r14626 r14638  
    18311831                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18321832                    <autoresizingMask key="autoresizingMask"/>
    1833                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1833                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18341834                </imageView>
    18351835                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22732273        <image name="NSAddTemplate" width="11" height="11"/>
    22742274        <image name="NSRemoveTemplate" width="11" height="11"/>
     2275        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22752276        <image name="TurtleTemplate" width="18" height="18"/>
    2276         <image name="YellowDot" width="16" height="16"/>
    22772277    </resources>
    22782278</document>
  • trunk/macosx/pt_PT.lproj/PrefsWindow.xib

    r14626 r14638  
    18311831                    <rect key="frame" x="251" y="144" width="14" height="14"/>
    18321832                    <autoresizingMask key="autoresizingMask"/>
    1833                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1833                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18341834                </imageView>
    18351835                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    22892289        <image name="NSAddTemplate" width="11" height="11"/>
    22902290        <image name="NSRemoveTemplate" width="11" height="11"/>
     2291        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    22912292        <image name="TurtleTemplate" width="18" height="18"/>
    2292         <image name="YellowDot" width="16" height="16"/>
    22932293    </resources>
    22942294</document>
  • trunk/macosx/ru.lproj/PrefsWindow.xib

    r14626 r14638  
    18541854                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18551855                    <autoresizingMask key="autoresizingMask"/>
    1856                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1856                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18571857                </imageView>
    18581858                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    23482348        <image name="NSAddTemplate" width="11" height="11"/>
    23492349        <image name="NSRemoveTemplate" width="11" height="11"/>
     2350        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    23502351        <image name="TurtleTemplate" width="18" height="18"/>
    2351         <image name="YellowDot" width="16" height="16"/>
    23522352    </resources>
    23532353</document>
  • trunk/macosx/tr.lproj/PrefsWindow.xib

    r14626 r14638  
    18271827                    <rect key="frame" x="221" y="144" width="14" height="14"/>
    18281828                    <autoresizingMask key="autoresizingMask"/>
    1829                     <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="YellowDot" id="1249"/>
     1829                    <imageCell key="cell" refusesFirstResponder="YES" alignment="left" animates="YES" imageScaling="proportionallyDown" image="NSStatusPartiallyAvailable" id="1249"/>
    18301830                </imageView>
    18311831                <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="353">
     
    23612361        <image name="NSAddTemplate" width="11" height="11"/>
    23622362        <image name="NSRemoveTemplate" width="11" height="11"/>
     2363        <image name="NSStatusPartiallyAvailable" width="16" height="16"/>
    23632364        <image name="TurtleTemplate" width="18" height="18"/>
    2364         <image name="YellowDot" width="16" height="16"/>
    23652365    </resources>
    23662366</document>
Note: See TracChangeset for help on using the changeset viewer.