Changeset 2987

Show
Ignore:
Timestamp:
06/19/05 23:30:31 (4 years ago)
Author:
morris
Message:

Remove references to status item for now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredServer/trunk/Panel/English.lproj/Wired.nib/info.nib

    r942 r2987  
    44<dict> 
    55        <key>IBDocumentLocation</key> 
    6         <string>1327 125 446 363 1280 0 1280 1024 </string> 
     6        <string>475 146 446 363 0 0 1280 1002 </string> 
    77        <key>IBFramework Version</key> 
    8         <string>364.0</string> 
     8        <string>439.0</string> 
    99        <key>IBOpenObjects</key> 
    1010        <array> 
     
    1212        </array> 
    1313        <key>IBSystem Version</key> 
    14         <string>7S215</string> 
     14        <string>8B15</string> 
    1515</dict> 
    1616</plist> 
  • WiredServer/trunk/WCConfigController.h

    r2975 r2987  
    8080         
    8181        IBOutlet NSButton                               *_launchAtBootButton; 
    82         IBOutlet NSButton                               *_showStatusInMenuBar; 
    8382 
    8483        IBOutlet NSMatrix                               *_logMethodMatrix; 
     
    118117- (BOOL)                                                        requiresAuthorization; 
    119118 
    120 - (IBAction)                                            showStatusInMenuBar:(id)sender; 
    121119- (IBAction)                                            touch:(id)sender; 
    122120- (IBAction)                                            setBanner:(id)sender; 
  • WiredServer/trunk/WCConfigController.m

    r2983 r2987  
    8484                [[self bundle] pathForResource:@"Error" ofType:@"tiff"]]; 
    8585 
    86         // --- check if status item is running 
    87         pid = [[NSWorkspace sharedWorkspace] processIdentifierOfCommand:@"Wired Status"]; 
    88         [_showStatusInMenuBar setState:(pid != NULL)]; 
    89          
    9086        // --- load users 
    9187        array = [NSMutableArray array]; 
     
    319315        [_userPopUpButton setEnabled:enabled]; 
    320316        [_groupPopUpButton setEnabled:enabled]; 
    321         [_showStatusInMenuBar setEnabled:enabled]; 
    322317        [_launchAtBootButton setEnabled:enabled]; 
    323318        [_logMethodMatrix setEnabled:enabled]; 
     
    988983 
    989984 
    990 - (IBAction)showStatusInMenuBar:(id)sender { 
    991         NSString        *path; 
    992         NSNumber        *pid; 
    993          
    994         path = [[self bundle] pathForResource:@"Wired Status" ofType:@"app"]; 
    995         pid = [[NSWorkspace sharedWorkspace] processIdentifierOfCommand:@"Wired Status"]; 
    996          
    997         if([sender state]) { 
    998                 if(!pid) { 
    999                         [[NSWorkspace sharedWorkspace] launchApplication:path]; 
    1000                         [[NSWorkspace sharedWorkspace] addAutoLaunchedApplication:path hide:NO]; 
    1001                 } 
    1002         } else { 
    1003                 if(pid && [pid intValue] > 0) { 
    1004                         kill([pid intValue], SIGTERM); 
    1005                         [[NSWorkspace sharedWorkspace] removeAutoLaunchedApplication:path]; 
    1006                 } 
    1007         } 
    1008 } 
    1009  
    1010  
    1011  
    1012985- (IBAction)selectLogFile:(id)sender { 
    1013986        NSOpenPanel             *openPanel; 
  • WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj

    r2986 r2987  
    677677                        runOnlyForDeploymentPostprocessing = 0; 
    678678                        shellPath = /bin/sh; 
    679                         shellScript = "cp -Rp \"$BUILT_PRODUCTS_DIR/$WRAPPER_NAME\" ~/Library/PreferencePanes/"; 
     679                        shellScript = "rm -rf \"$HOME/Library/PreferencePanes/$WRAPPER_NAME\"\ncp -Rp \"$BUILT_PRODUCTS_DIR/$WRAPPER_NAME\" \"$HOME/Library/PreferencePanes/\""; 
    680680                }; 
    681681                A50335AC0864C98900CE6911 /* Run Script (Wired Server) */ = {