Changeset 450

Show
Ignore:
Timestamp:
03/26/08 5:34:16 AM (8 months ago)
Author:
nicholas
Message:

Cleaned up preferences UI; added auto workspace opening for apps with no menubar

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Cocoa/F-Script Anywhere/Source/English.lproj/MainMenu.nib/classes.nib

    r153 r450  
    1 
    2     IBClasses = ( 
    3         { 
    4             ACTIONS = {installBundleInSelectedApp = id; };  
    5             CLASS = FSAApp;  
    6             LANGUAGE = ObjC;  
    7             OUTLETS = {appList = FSAAppList; appListWindow = NSWindow; };  
    8             SUPERCLASS = NSApplication;  
    9         },  
    10         { 
    11             CLASS = FSAAppList;  
    12             LANGUAGE = ObjC;  
    13             OUTLETS = {installButton = NSButton; tableView = NSTableView; };  
    14             SUPERCLASS = NSObject;  
    15         },  
    16         {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
    17         {CLASS = NJRScrollView; LANGUAGE = ObjC; SUPERCLASS = NSScrollView; } 
    18     );  
    19     IBVersion = 1;  
    20 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
     3<plist version="1.0"> 
     4<dict> 
     5        <key>IBClasses</key> 
     6        <array> 
     7                <dict> 
     8                        <key>CLASS</key> 
     9                        <string>FSATableView</string> 
     10                        <key>LANGUAGE</key> 
     11                        <string>ObjC</string> 
     12                        <key>SUPERCLASS</key> 
     13                        <string>NSTableView</string> 
     14                </dict> 
     15                <dict> 
     16                        <key>CLASS</key> 
     17                        <string>FirstResponder</string> 
     18                        <key>LANGUAGE</key> 
     19                        <string>ObjC</string> 
     20                        <key>SUPERCLASS</key> 
     21                        <string>NSObject</string> 
     22                </dict> 
     23                <dict> 
     24                        <key>CLASS</key> 
     25                        <string>NJRScrollView</string> 
     26                        <key>LANGUAGE</key> 
     27                        <string>ObjC</string> 
     28                        <key>SUPERCLASS</key> 
     29                        <string>NSScrollView</string> 
     30                </dict> 
     31                <dict> 
     32                        <key>ACTIONS</key> 
     33                        <dict> 
     34                                <key>installBundleInSelectedApp</key> 
     35                                <string>id</string> 
     36                        </dict> 
     37                        <key>CLASS</key> 
     38                        <string>FSAApp</string> 
     39                        <key>LANGUAGE</key> 
     40                        <string>ObjC</string> 
     41                        <key>OUTLETS</key> 
     42                        <dict> 
     43                                <key>appList</key> 
     44                                <string>FSAAppList</string> 
     45                                <key>appListWindow</key> 
     46                                <string>NSWindow</string> 
     47                        </dict> 
     48                        <key>SUPERCLASS</key> 
     49                        <string>NSApplication</string> 
     50                </dict> 
     51                <dict> 
     52                        <key>CLASS</key> 
     53                        <string>NSTableView</string> 
     54                        <key>LANGUAGE</key> 
     55                        <string>ObjC</string> 
     56                        <key>SUPERCLASS</key> 
     57                        <string>NSControl</string> 
     58                </dict> 
     59                <dict> 
     60                        <key>CLASS</key> 
     61                        <string>FSAAppList</string> 
     62                        <key>LANGUAGE</key> 
     63                        <string>ObjC</string> 
     64                        <key>OUTLETS</key> 
     65                        <dict> 
     66                                <key>installButton</key> 
     67                                <string>NSButton</string> 
     68                                <key>tableView</key> 
     69                                <string>NSTableView</string> 
     70                        </dict> 
     71                        <key>SUPERCLASS</key> 
     72                        <string>NSObject</string> 
     73                </dict> 
     74        </array> 
     75        <key>IBVersion</key> 
     76        <string>1</string> 
     77</dict> 
     78</plist> 
  • trunk/Cocoa/F-Script Anywhere/Source/English.lproj/MainMenu.nib/info.nib

    r228 r450  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
    33<plist version="1.0"> 
    44<dict> 
    5         <key>IBDocumentLocation</key> 
    6         <string>113 166 356 240 0 0 1280 1002 </string> 
    7         <key>IBEditorPositions</key> 
    8         <dict> 
    9                 <key>29</key> 
    10                 <string>47 726 232 44 0 0 1280 1002 </string> 
    11         </dict> 
    125        <key>IBFramework Version</key> 
    13         <string>443.0</string> 
     6        <string>644</string> 
     7        <key>IBLastKnownRelativeProjectPath</key> 
     8        <string>../F-Script Anywhere.xcodeproj</string> 
     9        <key>IBOldestOS</key> 
     10        <integer>5</integer> 
    1411        <key>IBOpenObjects</key> 
    1512        <array> 
     13                <integer>233</integer> 
    1614                <integer>29</integer> 
    17                 <integer>195</integer> 
    18                 <integer>229</integer> 
     15                <integer>196</integer> 
    1916        </array> 
    2017        <key>IBSystem Version</key> 
    21         <string>8I127</string> 
     18        <string>9C7010</string> 
     19        <key>targetFramework</key> 
     20        <string>IBCocoaFramework</string> 
    2221</dict> 
    2322</plist> 
  • trunk/Cocoa/F-Script Anywhere/Source/F-Script Anywhere.xcodeproj/project.pbxproj

    r416 r450  
    1111                25D8A24C0CBD347A00EFA0BD /* Certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = 25D8A24B0CBD347A00EFA0BD /* Certificate.cer */; }; 
    1212                25EADA9609CD2D7100BCD8E1 /* bytesex.c in Sources */ = {isa = PBXBuildFile; fileRef = 25EADA9509CD2D7100BCD8E1 /* bytesex.c */; }; 
     13                E12F24620D9A1572008A3616 /* FSATableView.m in Sources */ = {isa = PBXBuildFile; fileRef = E12F24580D9A1503008A3616 /* FSATableView.m */; }; 
    1314                E14C18BD05A4DE25000D4AF3 /* FSAInterpreterPanel.nib in Resources */ = {isa = PBXBuildFile; fileRef = F5680F7A020D0D0401AEEC37 /* FSAInterpreterPanel.nib */; }; 
    1415                E14C18BF05A4F013000D4AF3 /* Bullseye menu cursor.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F5694E2702E96FFE01AEEDB1 /* Bullseye menu cursor.tiff */; }; 
     
    8788                29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 
    8889                29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = "<group>"; }; 
     90                E12F24570D9A1503008A3616 /* FSATableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FSATableView.h; sourceTree = "<group>"; }; 
     91                E12F24580D9A1503008A3616 /* FSATableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSATableView.m; sourceTree = "<group>"; }; 
    8992                E14C1ECE05A8DB19000D4AF3 /* Ellipsis.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Ellipsis.tiff; sourceTree = SOURCE_ROOT; }; 
    9093                E1D652040575B3D50054F5D1 /* SCPatchLoader.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SCPatchLoader.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 
     
    348351                                F5EFC2D6020A6E0E01AEEDB1 /* FSAAppList.h */, 
    349352                                F5EFC2D7020A6E0E01AEEDB1 /* FSAAppList.m */, 
     353                                E12F24570D9A1503008A3616 /* FSATableView.h */, 
     354                                E12F24580D9A1503008A3616 /* FSATableView.m */, 
    350355                                F5EFC2E1020A6FD501AEEDB1 /* NJRLabeledImageCell.h */, 
    351356                                F5EFC2E0020A6FD501AEEDB1 /* NJRLabeledImageCell.m */, 
     
    545550                                E1D6B69F05A45CBF003838B0 /* SCPatchPrivate.c in Sources */, 
    546551                                25EADA9609CD2D7100BCD8E1 /* bytesex.c in Sources */, 
     552                                E12F24620D9A1572008A3616 /* FSATableView.m in Sources */, 
    547553                        ); 
    548554                        runOnlyForDeploymentPostprocessing = 0; 
  • trunk/Cocoa/F-Script Anywhere/Source/FSAController.h

    r412 r450  
    4343} 
    4444 
     45+ (void)createInterpreterWindow:(id)sender; 
     46 
    4547- (id)initShowingInterpreter:(BOOL)showInterpreter; 
    4648 
  • trunk/Cocoa/F-Script Anywhere/Source/FSAController.m

    r404 r450  
    116116        } 
    117117    } 
    118  
     118     
     119    // Open up a workspace if the user wants one 
     120    if ([[[[NSUserDefaults standardUserDefaults] persistentDomainForName: @"net.sabi.FScriptAnywhereApp"] objectForKey:@"OpenWorkspaceOnInstall"] boolValue]) { 
     121        [FSAController createInterpreterWindow: nil]; 
     122    } 
    119123} 
    120124