]> granicus.if.org Git - transmission/commitdiff
move the "open torrent URL" sheet into its own xib file
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 10 Feb 2011 00:51:25 +0000 (00:51 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 10 Feb 2011 00:51:25 +0000 (00:51 +0000)
Transmission.xcodeproj/project.pbxproj
macosx/Controller.h
macosx/Controller.m
macosx/Makefile.am
macosx/URLSheetWindow.xib [new file with mode: 0644]
macosx/URLSheetWindowController.h [new file with mode: 0644]
macosx/URLSheetWindowController.m [new file with mode: 0644]
macosx/en.lproj/MainMenu.xib

index f1a5a919c205181e8667f6d7a09c1232e85b4dff..bb242e1cce2eafdfce07fd6faa39010c9b5aaef7 100644 (file)
                A2F40AE40A361C00006B8288 /* Transmission.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D2784360905709500687951 /* Transmission.icns */; };
                A2F41DAB0D0B916B006CE378 /* YingYangTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */; };
                A2F41F8E0D73595100B82116 /* InfoTracker.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41F8D0D73595100B82116 /* InfoTracker.png */; };
+               A2F7CF5513035F7B0016FF10 /* URLSheetWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A2F7CF5413035F7B0016FF10 /* URLSheetWindow.xib */; };
+               A2F7CF5F13035FFD0016FF10 /* URLSheetWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2F7CF5E13035FFD0016FF10 /* URLSheetWindowController.m */; };
                A2F8CD430F3D0F4A00DB356A /* miniupnpcstrings.h in Headers */ = {isa = PBXBuildFile; fileRef = A2F8CD420F3D0F4A00DB356A /* miniupnpcstrings.h */; };
                A2FB057F0BFEB6800095564D /* DragOverlayView.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB057D0BFEB6800095564D /* DragOverlayView.m */; };
                A2FB701C0D95CAEA0001F331 /* GroupsController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB701B0D95CAEA0001F331 /* GroupsController.m */; };
                A2F1511F0CD438BA001F3B0E /* Lock.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Lock.png; path = macosx/Images/Lock.png; sourceTree = "<group>"; };
                A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = YingYangTemplate.png; path = macosx/Images/YingYangTemplate.png; sourceTree = "<group>"; };
                A2F41F8D0D73595100B82116 /* InfoTracker.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTracker.png; path = macosx/Images/InfoTracker.png; sourceTree = "<group>"; };
+               A2F7CF5413035F7B0016FF10 /* URLSheetWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = URLSheetWindow.xib; path = macosx/URLSheetWindow.xib; sourceTree = "<group>"; };
+               A2F7CF5D13035FFD0016FF10 /* URLSheetWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = URLSheetWindowController.h; path = macosx/URLSheetWindowController.h; sourceTree = "<group>"; };
+               A2F7CF5E13035FFD0016FF10 /* URLSheetWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = URLSheetWindowController.m; path = macosx/URLSheetWindowController.m; sourceTree = "<group>"; };
                A2F8951E0A2D4BA500ED2127 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Credits.rtf; path = macosx/Credits.rtf; sourceTree = "<group>"; };
                A2F8CD420F3D0F4A00DB356A /* miniupnpcstrings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = miniupnpcstrings.h; path = "third-party/miniupnp/miniupnpcstrings.h"; sourceTree = "<group>"; };
                A2FB057C0BFEB6800095564D /* DragOverlayView.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = DragOverlayView.h; path = macosx/DragOverlayView.h; sourceTree = "<group>"; };
                                A25892630CF1F7E800CCCDDF /* StatsWindowController.m */,
                                A2085DD90C53BC74000BC3B7 /* AboutWindowController.h */,
                                A2085DDA0C53BC74000BC3B7 /* AboutWindowController.m */,
+                               A2F7CF5D13035FFD0016FF10 /* URLSheetWindowController.h */,
+                               A2F7CF5E13035FFD0016FF10 /* URLSheetWindowController.m */,
                                A234D0D40C79FB6000A82373 /* Additions */,
                                E1B6FBF80C0D719B0015FE4D /* Info Window */,
                                A26AF2220D2DA42800FF7140 /* File Outline View */,
                                A233BD320D8C6585007EE7B4 /* MessageWindow.xib */,
                                A233BD680D8CF2C7007EE7B4 /* StatsWindow.xib */,
                                A231274B0D11D0B7003F9AFF /* AboutWindow.xib */,
+                               A2F7CF5413035F7B0016FF10 /* URLSheetWindow.xib */,
                                A2D307B00D9EC9F50051FD27 /* BlocklistStatusWindow.xib */,
                                A209ECA1114319C3002B02D1 /* InfoWindow.xib */,
                                A209EAEA1142D294002B02D1 /* InfoGeneralView.xib */,
                                A209EC12114301C6002B02D1 /* InfoOptionsView.xib in Resources */,
                                A209ECA2114319C3002B02D1 /* InfoWindow.xib in Resources */,
                                A21F15AD11729A9F00CF5A9C /* AddMagnetWindow.xib in Resources */,
+                               A2F7CF5513035F7B0016FF10 /* URLSheetWindow.xib in Resources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                A21F15AC11729A8B00CF5A9C /* AddMagnetWindowController.m in Sources */,
                                A2661D6112D0E8D9004F69D5 /* FilterBarView.m in Sources */,
                                A25BB02A12F4F517004B724E /* InfoTabButtonBack.m in Sources */,
+                               A2F7CF5F13035FFD0016FF10 /* URLSheetWindowController.m in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 38659b226ecb5e6827b8c850e2a1ee5e40e6fd43..ef130c3e6da729e0eace9cbc0b6799fec42491a1 100644 (file)
@@ -39,6 +39,7 @@
 @class StatusBarView;
 @class Torrent;
 @class TorrentTableView;
+@class URLSheetWindowController;
 
 typedef enum
 {
@@ -96,10 +97,6 @@ typedef enum
     IBOutlet NSMenu                 * fGroupsSetMenu, * fGroupsSetContextMenu, * fGroupFilterMenu;
     IBOutlet NSPopUpButton          * fGroupsButton;
     
-    IBOutlet NSWindow               * fURLSheetWindow;
-    IBOutlet NSTextField            * fURLSheetTextField;
-    IBOutlet NSButton               * fURLSheetOpenButton;
-    
     #warning change to QLPreviewPanel
     id                              fPreviewPanel;
     BOOL                            fQuitting;
@@ -132,10 +129,9 @@ typedef enum
 - (void) duplicateOpenAlert: (NSString *) name;
 - (void) duplicateOpenMagnetAlert: (NSString *) address transferName: (NSString *) name;
 
-- (void) openURL:               (NSString *) urlString;
-- (void) openURLEndSheet:       (id) sender;
-- (void) openURLCancelEndSheet: (id) sender;
-- (void) openURLShowSheet:      (id) sender;
+- (void) openURL: (NSString *) urlString;
+- (void) openURLShowSheet: (id) sender;
+- (void) urlSheetDidEnd: (URLSheetWindowController *) controller url: (NSString *) urlString returnCode: (NSInteger) returnCode;
 
 - (void) quitSheetDidEnd: (NSWindow *) sheet returnCode: (NSInteger) returnCode contextInfo: (void *) contextInfo;
 
index 0df0c265f69eaab7ba96afa02d93925332c3af6d..95d48b2df40cece3ab4b35e12649d2f38a0b8da9 100644 (file)
@@ -36,6 +36,7 @@
 #import "PrefsController.h"
 #import "GroupsController.h"
 #import "AboutWindowController.h"
+#import "URLSheetWindowController.h"
 #import "AddWindowController.h"
 #import "AddMagnetWindowController.h"
 #import "MessageWindowController.h"
@@ -1225,49 +1226,17 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
 
 - (void) openURLShowSheet: (id) sender
 {
-    [NSApp beginSheet: fURLSheetWindow modalForWindow: fWindow modalDelegate: self
-            didEndSelector: @selector(urlSheetDidEnd:returnCode:contextInfo:) contextInfo: nil];
+    [[[URLSheetWindowController alloc] initWithController: self] beginSheetForWindow: fWindow];
 }
 
-- (void) openURLEndSheet: (id) sender
+#warning need to remember sheet text between runs
+- (void) urlSheetDidEnd: (URLSheetWindowController *) controller url: (NSString *) urlString returnCode: (NSInteger) returnCode
 {
-    [fURLSheetWindow orderOut: sender];
-    [NSApp endSheet: fURLSheetWindow returnCode: 1];
-}
-
-- (void) openURLCancelEndSheet: (id) sender
-{
-    [fURLSheetWindow orderOut: sender];
-    [NSApp endSheet: fURLSheetWindow returnCode: 0];
-}
-
-- (void) controlTextDidChange: (NSNotification *) notification
-{
-    if ([notification object] != fURLSheetTextField)
-        return;
-    
-    NSString * string = [fURLSheetTextField stringValue];
-    BOOL enable = YES;
-    if ([string isEqualToString: @""])
-        enable = NO;
-    else
-    {
-        NSRange prefixRange = [string rangeOfString: @"://"];
-        if (prefixRange.location != NSNotFound && [string length] == NSMaxRange(prefixRange))
-            enable = NO;
-    }
-    
-    [fURLSheetOpenButton setEnabled: enable];
-}
-
-- (void) urlSheetDidEnd: (NSWindow *) sheet returnCode: (NSInteger) returnCode contextInfo: (void *) contextInfo
-{
-    [fURLSheetTextField selectText: self];
     if (returnCode != 1)
         return;
     
-    NSString * urlString = [fURLSheetTextField stringValue];
     [self performSelectorOnMainThread: @selector(openURL:) withObject: urlString waitUntilDone: NO];
+    [controller release];
 }
 
 - (void) createFile: (id) sender
index b6e75c8536ad2812047e343087853cf1d8348d63..361112b41b477d38d632a11391c09aa0964afe96 100644 (file)
@@ -8,6 +8,7 @@ EXTRA_DIST = \
     InfoWindow.xib \
     MessageWindow.xib \
     StatsWindow.xib \
+    URLSheetWindow.xib \
     Defaults.plist \
     Info.plist \
     Transmission_Prefix.pch \
@@ -144,7 +145,9 @@ EXTRA_DIST = \
     TrackerNode.h \
     TrackerNode.m \
     TrackerTableView.h \
-    TrackerTableView.m
+    TrackerTableView.m \
+    URLSheetWindowController.h \
+    URLSheetWindowController.m
 
 dist-hook:
        rm -rf `find $(distdir)/ -type d -name .svn`
diff --git a/macosx/URLSheetWindow.xib b/macosx/URLSheetWindow.xib
new file mode 100644 (file)
index 0000000..8e05dc8
--- /dev/null
@@ -0,0 +1,1066 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
+       <data>
+               <int key="IBDocument.SystemTarget">1060</int>
+               <string key="IBDocument.SystemVersion">10J567</string>
+               <string key="IBDocument.InterfaceBuilderVersion">823</string>
+               <string key="IBDocument.AppKitVersion">1038.35</string>
+               <string key="IBDocument.HIToolboxVersion">462.00</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
+                       <string key="NS.object.0">823</string>
+               </object>
+               <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <integer value="4"/>
+               </object>
+               <object class="NSArray" key="IBDocument.PluginDependencies">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.Metadata">
+                       <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+                       <integer value="1" key="NS.object.0"/>
+               </object>
+               <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSCustomObject" id="1001">
+                               <string key="NSClassName">URLSheetWindowController</string>
+                       </object>
+                       <object class="NSCustomObject" id="1003">
+                               <string key="NSClassName">FirstResponder</string>
+                       </object>
+                       <object class="NSCustomObject" id="1004">
+                               <string key="NSClassName">NSApplication</string>
+                       </object>
+                       <object class="NSWindowTemplate" id="461713252">
+                               <int key="NSWindowStyleMask">15</int>
+                               <int key="NSWindowBacking">2</int>
+                               <string key="NSWindowRect">{{168, 356}, {400, 177}}</string>
+                               <int key="NSWTFlags">1886912512</int>
+                               <string key="NSWindowTitle">Window</string>
+                               <string key="NSWindowClass">NSWindow</string>
+                               <object class="NSMutableString" key="NSViewClass">
+                                       <characters key="NS.bytes">View</characters>
+                               </object>
+                               <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
+                               <string key="NSWindowContentMinSize">{400, 177}</string>
+                               <object class="NSView" key="NSWindowView" id="892541411">
+                                       <reference key="NSNextResponder"/>
+                                       <int key="NSvFlags">256</int>
+                                       <object class="NSMutableArray" key="NSSubviews">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSTextField" id="1066788818">
+                                                       <reference key="NSNextResponder" ref="892541411"/>
+                                                       <int key="NSvFlags">274</int>
+                                                       <string key="NSFrame">{{20, 50}, {360, 80}}</string>
+                                                       <reference key="NSSuperview" ref="892541411"/>
+                                                       <bool key="NSEnabled">YES</bool>
+                                                       <object class="NSTextFieldCell" key="NSCell" id="139057847">
+                                                               <int key="NSCellFlags">-1805517311</int>
+                                                               <int key="NSCellFlags2">272630272</int>
+                                                               <string key="NSContents"/>
+                                                               <object class="NSFont" key="NSSupport" id="710583324">
+                                                                       <string key="NSName">LucidaGrande</string>
+                                                                       <double key="NSSize">13</double>
+                                                                       <int key="NSfFlags">1044</int>
+                                                               </object>
+                                                               <reference key="NSControlView" ref="1066788818"/>
+                                                               <bool key="NSDrawsBackground">YES</bool>
+                                                               <object class="NSColor" key="NSBackgroundColor">
+                                                                       <int key="NSColorSpace">6</int>
+                                                                       <string key="NSCatalogName">System</string>
+                                                                       <string key="NSColorName">textBackgroundColor</string>
+                                                                       <object class="NSColor" key="NSColor">
+                                                                               <int key="NSColorSpace">3</int>
+                                                                               <bytes key="NSWhite">MQA</bytes>
+                                                                       </object>
+                                                               </object>
+                                                               <object class="NSColor" key="NSTextColor">
+                                                                       <int key="NSColorSpace">6</int>
+                                                                       <string key="NSCatalogName">System</string>
+                                                                       <string key="NSColorName">textColor</string>
+                                                                       <object class="NSColor" key="NSColor" id="751388992">
+                                                                               <int key="NSColorSpace">3</int>
+                                                                               <bytes key="NSWhite">MAA</bytes>
+                                                                       </object>
+                                                               </object>
+                                                       </object>
+                                               </object>
+                                               <object class="NSButton" id="794131740">
+                                                       <reference key="NSNextResponder" ref="892541411"/>
+                                                       <int key="NSvFlags">289</int>
+                                                       <string key="NSFrame">{{304, 12}, {82, 32}}</string>
+                                                       <reference key="NSSuperview" ref="892541411"/>
+                                                       <bool key="NSEnabled">YES</bool>
+                                                       <object class="NSButtonCell" key="NSCell" id="62424678">
+                                                               <int key="NSCellFlags">604110336</int>
+                                                               <int key="NSCellFlags2">134217728</int>
+                                                               <string key="NSContents">Open</string>
+                                                               <reference key="NSSupport" ref="710583324"/>
+                                                               <reference key="NSControlView" ref="794131740"/>
+                                                               <int key="NSButtonFlags">-2038284033</int>
+                                                               <int key="NSButtonFlags2">1</int>
+                                                               <reference key="NSAlternateImage" ref="710583324"/>
+                                                               <string key="NSAlternateContents"/>
+                                                               <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
+                                                               <int key="NSPeriodicDelay">200</int>
+                                                               <int key="NSPeriodicInterval">25</int>
+                                                       </object>
+                                               </object>
+                                               <object class="NSButton" id="9691643">
+                                                       <reference key="NSNextResponder" ref="892541411"/>
+                                                       <int key="NSvFlags">289</int>
+                                                       <string key="NSFrame">{{222, 12}, {82, 32}}</string>
+                                                       <reference key="NSSuperview" ref="892541411"/>
+                                                       <bool key="NSEnabled">YES</bool>
+                                                       <object class="NSButtonCell" key="NSCell" id="341887532">
+                                                               <int key="NSCellFlags">67239424</int>
+                                                               <int key="NSCellFlags2">134217728</int>
+                                                               <string key="NSContents">Cancel</string>
+                                                               <reference key="NSSupport" ref="710583324"/>
+                                                               <reference key="NSControlView" ref="9691643"/>
+                                                               <int key="NSButtonFlags">-2038284033</int>
+                                                               <int key="NSButtonFlags2">1</int>
+                                                               <reference key="NSAlternateImage" ref="710583324"/>
+                                                               <string key="NSAlternateContents"/>
+                                                               <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
+                                                               <int key="NSPeriodicDelay">200</int>
+                                                               <int key="NSPeriodicInterval">25</int>
+                                                       </object>
+                                               </object>
+                                               <object class="NSTextField" id="459786882">
+                                                       <reference key="NSNextResponder" ref="892541411"/>
+                                                       <int key="NSvFlags">266</int>
+                                                       <string key="NSFrame">{{17, 140}, {366, 17}}</string>
+                                                       <reference key="NSSuperview" ref="892541411"/>
+                                                       <bool key="NSEnabled">YES</bool>
+                                                       <object class="NSTextFieldCell" key="NSCell" id="830118733">
+                                                               <int key="NSCellFlags">67239488</int>
+                                                               <int key="NSCellFlags2">272631808</int>
+                                                               <string key="NSContents">label</string>
+                                                               <reference key="NSSupport" ref="710583324"/>
+                                                               <reference key="NSControlView" ref="459786882"/>
+                                                               <object class="NSColor" key="NSBackgroundColor">
+                                                                       <int key="NSColorSpace">6</int>
+                                                                       <string key="NSCatalogName">System</string>
+                                                                       <string key="NSColorName">controlColor</string>
+                                                                       <object class="NSColor" key="NSColor">
+                                                                               <int key="NSColorSpace">3</int>
+                                                                               <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
+                                                                       </object>
+                                                               </object>
+                                                               <object class="NSColor" key="NSTextColor">
+                                                                       <int key="NSColorSpace">6</int>
+                                                                       <string key="NSCatalogName">System</string>
+                                                                       <string key="NSColorName">controlTextColor</string>
+                                                                       <reference key="NSColor" ref="751388992"/>
+                                                               </object>
+                                                       </object>
+                                               </object>
+                                       </object>
+                                       <string key="NSFrameSize">{400, 177}</string>
+                                       <reference key="NSSuperview"/>
+                               </object>
+                               <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
+                               <string key="NSMinSize">{400, 199}</string>
+                               <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
+                       </object>
+               </object>
+               <object class="IBObjectContainer" key="IBDocument.Objects">
+                       <object class="NSMutableArray" key="connectionRecords">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">window</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="461713252"/>
+                                       </object>
+                                       <int key="connectionID">13</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fOpenButton</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="794131740"/>
+                                       </object>
+                                       <int key="connectionID">15</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fLabelField</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="459786882"/>
+                                       </object>
+                                       <int key="connectionID">16</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">fTextField</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="1066788818"/>
+                                       </object>
+                                       <int key="connectionID">17</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">openURLEndSheet:</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="794131740"/>
+                                       </object>
+                                       <int key="connectionID">18</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">openURLCancelEndSheet:</string>
+                                               <reference key="source" ref="1001"/>
+                                               <reference key="destination" ref="9691643"/>
+                                       </object>
+                                       <int key="connectionID">19</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">delegate</string>
+                                               <reference key="source" ref="1066788818"/>
+                                               <reference key="destination" ref="1001"/>
+                                       </object>
+                                       <int key="connectionID">21</int>
+                               </object>
+                       </object>
+                       <object class="IBMutableOrderedSet" key="objectRecords">
+                               <object class="NSArray" key="orderedObjects">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">0</int>
+                                               <object class="NSArray" key="object" id="0">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                               </object>
+                                               <reference key="children" ref="1000"/>
+                                               <nil key="parent"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-2</int>
+                                               <reference key="object" ref="1001"/>
+                                               <reference key="parent" ref="0"/>
+                                               <string key="objectName">File's Owner</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-1</int>
+                                               <reference key="object" ref="1003"/>
+                                               <reference key="parent" ref="0"/>
+                                               <string key="objectName">First Responder</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-3</int>
+                                               <reference key="object" ref="1004"/>
+                                               <reference key="parent" ref="0"/>
+                                               <string key="objectName">Application</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">3</int>
+                                               <reference key="object" ref="461713252"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="892541411"/>
+                                               </object>
+                                               <reference key="parent" ref="0"/>
+                                               <string key="objectName">URLSheetWindow</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">4</int>
+                                               <reference key="object" ref="892541411"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="459786882"/>
+                                                       <reference ref="9691643"/>
+                                                       <reference ref="794131740"/>
+                                                       <reference ref="1066788818"/>
+                                               </object>
+                                               <reference key="parent" ref="461713252"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5</int>
+                                               <reference key="object" ref="459786882"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="830118733"/>
+                                               </object>
+                                               <reference key="parent" ref="892541411"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">6</int>
+                                               <reference key="object" ref="9691643"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="341887532"/>
+                                               </object>
+                                               <reference key="parent" ref="892541411"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">7</int>
+                                               <reference key="object" ref="794131740"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="62424678"/>
+                                               </object>
+                                               <reference key="parent" ref="892541411"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">8</int>
+                                               <reference key="object" ref="1066788818"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="139057847"/>
+                                               </object>
+                                               <reference key="parent" ref="892541411"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">9</int>
+                                               <reference key="object" ref="139057847"/>
+                                               <reference key="parent" ref="1066788818"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">10</int>
+                                               <reference key="object" ref="62424678"/>
+                                               <reference key="parent" ref="794131740"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">11</int>
+                                               <reference key="object" ref="341887532"/>
+                                               <reference key="parent" ref="9691643"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">12</int>
+                                               <reference key="object" ref="830118733"/>
+                                               <reference key="parent" ref="459786882"/>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="flattenedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="NSArray" key="dict.sortedKeys">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <string>-3.IBPluginDependency</string>
+                                       <string>10.IBPluginDependency</string>
+                                       <string>11.IBPluginDependency</string>
+                                       <string>12.IBPluginDependency</string>
+                                       <string>3.IBEditorWindowLastContentRect</string>
+                                       <string>3.IBPluginDependency</string>
+                                       <string>3.IBWindowTemplateEditedContentRect</string>
+                                       <string>3.ImportedFromIB2</string>
+                                       <string>3.windowTemplate.hasMaxSize</string>
+                                       <string>3.windowTemplate.hasMinSize</string>
+                                       <string>3.windowTemplate.maxSize</string>
+                                       <string>3.windowTemplate.minSize</string>
+                                       <string>4.IBPluginDependency</string>
+                                       <string>4.ImportedFromIB2</string>
+                                       <string>5.IBPluginDependency</string>
+                                       <string>5.ImportedFromIB2</string>
+                                       <string>6.IBPluginDependency</string>
+                                       <string>6.ImportedFromIB2</string>
+                                       <string>7.IBPluginDependency</string>
+                                       <string>7.ImportedFromIB2</string>
+                                       <string>8.IBPluginDependency</string>
+                                       <string>8.ImportedFromIB2</string>
+                                       <string>9.IBPluginDependency</string>
+                               </object>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{535, 596}, {400, 177}}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>{{535, 596}, {400, 177}}</string>
+                                       <integer value="1"/>
+                                       <integer value="0"/>
+                                       <integer value="1"/>
+                                       <string>{3.40282e+38, 3.40282e+38}</string>
+                                       <string>{400, 177}</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <integer value="1"/>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="unlocalizedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <reference key="dict.sortedKeys" ref="0"/>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                       </object>
+                       <nil key="activeLocalization"/>
+                       <object class="NSMutableDictionary" key="localizations">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <reference key="dict.sortedKeys" ref="0"/>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                       </object>
+                       <nil key="sourceID"/>
+                       <int key="maxID">21</int>
+               </object>
+               <object class="IBClassDescriber" key="IBDocument.Classes">
+                       <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">macosx/NSApplicationAdditions.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">macosx/UKKQueue/UKFileWatcher.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">macosx/UKKQueue/UKKQueue.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">macosx/UKKQueue/UKMainThreadProxy.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">URLSheetWindowController</string>
+                                       <string key="superclassName">NSWindowController</string>
+                                       <object class="NSMutableDictionary" key="actions">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>openURLCancelEndSheet:</string>
+                                                       <string>openURLEndSheet:</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="actionInfosByName">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>openURLCancelEndSheet:</string>
+                                                       <string>openURLEndSheet:</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">openURLCancelEndSheet:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                                       <object class="IBActionInfo">
+                                                               <string key="name">openURLEndSheet:</string>
+                                                               <string key="candidateClassName">id</string>
+                                                       </object>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="outlets">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>fLabelField</string>
+                                                       <string>fOpenButton</string>
+                                                       <string>fTextField</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>NSTextField</string>
+                                                       <string>NSButton</string>
+                                                       <string>NSTextField</string>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>fLabelField</string>
+                                                       <string>fOpenButton</string>
+                                                       <string>fTextField</string>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fLabelField</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fOpenButton</string>
+                                                               <string key="candidateClassName">NSButton</string>
+                                                       </object>
+                                                       <object class="IBToOneOutletInfo">
+                                                               <string key="name">fTextField</string>
+                                                               <string key="candidateClassName">NSTextField</string>
+                                                       </object>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">macosx/URLSheetWindowController.h</string>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSActionCell</string>
+                                       <string key="superclassName">NSCell</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSActionCell.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <string key="superclassName">NSResponder</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="439196112">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSApplication.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="623796227">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSApplicationScripting.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="420874308">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSColorPanel.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSHelpManager.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSPageLayout.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSApplication</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSUserInterfaceItemSearching.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSButton</string>
+                                       <string key="superclassName">NSControl</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSButton.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSButtonCell</string>
+                                       <string key="superclassName">NSActionCell</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSButtonCell.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSCell</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSCell.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSControl</string>
+                                       <string key="superclassName">NSView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="918614079">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSControl.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSFormatter</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSFormatter.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSMenu</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="815583222">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSMenu.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSAccessibility.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="439196112"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="623796227"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="420874308"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="918614079"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSDictionaryController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSDragging.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSFontManager.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSFontPanel.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSKeyValueBinding.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <reference key="sourceIdentifier" ref="815583222"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSNibLoading.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSOutlineView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSPasteboard.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSSavePanel.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSTableView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSToolbarItem.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier" id="735642040">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSArchiver.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSClassDescription.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSError.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSObjectScripting.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSPortCoder.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSScriptClassDescription.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSScriptKeyValueCoding.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSScriptObjectSpecifiers.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSScriptWhoseTests.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Foundation.framework/Headers/NSURLDownload.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Growl.framework/Headers/GrowlApplicationBridge.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">ImageKit.framework/Headers/IKImageBrowserView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">ImageKit.framework/Headers/IKSaveOptions.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">ImageKit.framework/Headers/ImageKitDeprecated.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">PDFKit.framework/Headers/PDFDocument.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">PDFKit.framework/Headers/PDFView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuartzComposer.framework/Headers/QCCompositionParameterView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuartzComposer.framework/Headers/QCCompositionPickerView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuartzFilters.framework/Headers/QuartzFilterManager.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">QuickLookUI.framework/Headers/QLPreviewPanel.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Sparkle.framework/Headers/SUAppcast.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">Sparkle.framework/Headers/SUUpdater.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSResponder</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSInterfaceStyle.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSResponder</string>
+                                       <string key="superclassName">NSObject</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSResponder.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSTextField</string>
+                                       <string key="superclassName">NSControl</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSTextField.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSTextFieldCell</string>
+                                       <string key="superclassName">NSActionCell</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSTextFieldCell.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSClipView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSMenuItem.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSView</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSRulerView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSView</string>
+                                       <string key="superclassName">NSResponder</string>
+                                       <reference key="sourceIdentifier" ref="735642040"/>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSWindow</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSDrawer.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSWindow</string>
+                                       <string key="superclassName">NSResponder</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSWindow.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSWindow</string>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSWindowScripting.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">NSWindowController</string>
+                                       <string key="superclassName">NSResponder</string>
+                                       <object class="NSMutableDictionary" key="actions">
+                                               <string key="NS.key.0">showWindow:</string>
+                                               <string key="NS.object.0">id</string>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="actionInfosByName">
+                                               <string key="NS.key.0">showWindow:</string>
+                                               <object class="IBActionInfo" key="NS.object.0">
+                                                       <string key="name">showWindow:</string>
+                                                       <string key="candidateClassName">id</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBFrameworkSource</string>
+                                               <string key="minorKey">AppKit.framework/Headers/NSWindowController.h</string>
+                                       </object>
+                               </object>
+                       </object>
+               </object>
+               <int key="IBDocument.localizationMode">0</int>
+               <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
+                       <integer value="1060" key="NS.object.0"/>
+               </object>
+               <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+                       <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
+                       <integer value="3000" key="NS.object.0"/>
+               </object>
+               <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+               <string key="IBDocument.LastKnownRelativeProjectPath">../Transmission.xcodeproj</string>
+               <int key="IBDocument.defaultPropertyAccessControl">3</int>
+       </data>
+</archive>
diff --git a/macosx/URLSheetWindowController.h b/macosx/URLSheetWindowController.h
new file mode 100644 (file)
index 0000000..8974035
--- /dev/null
@@ -0,0 +1,44 @@
+/******************************************************************************
+ * $Id$
+ *
+ * Copyright (c) 2011 Transmission authors and contributors
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *****************************************************************************/
+
+#import <Cocoa/Cocoa.h>
+
+@class Controller;
+
+@interface URLSheetWindowController : NSWindowController
+{
+       IBOutlet NSTextField * fLabelField;
+    IBOutlet NSTextField * fTextField;
+    IBOutlet NSButton * fOpenButton;
+    
+    Controller * fController;
+}
+
+- (id) initWithController: (Controller *) controller;
+- (void) beginSheetForWindow: (NSWindow *) window;
+
+- (void) openURLEndSheet: (id) sender;
+- (void) openURLCancelEndSheet: (id) sender;
+
+@end
diff --git a/macosx/URLSheetWindowController.m b/macosx/URLSheetWindowController.m
new file mode 100644 (file)
index 0000000..edfab8e
--- /dev/null
@@ -0,0 +1,83 @@
+/******************************************************************************
+ * $Id$
+ *
+ * Copyright (c) 2011 Transmission authors and contributors
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *****************************************************************************/
+
+#import "URLSheetWindowController.h"
+#import "Controller.h"
+
+@implementation URLSheetWindowController
+
+- (id) initWithController: (Controller *) controller
+{
+    if ((self = [self initWithWindowNibName: @"URLSheetWindow"]))
+    {
+        fController = controller;
+    }
+    return self;
+}
+
+- (void) awakeFromNib
+{
+    [fLabelField setStringValue: NSLocalizedString(@"Internet address of torrent file:", "URL sheet label")];
+}
+
+- (IBAction) beginSheetForWindow: (NSWindow *) window
+{
+    [NSApp beginSheet: [self window] modalForWindow: window modalDelegate: self
+        didEndSelector: @selector(sheetDidEnd:returnCode:contextInfo:) contextInfo: nil];
+}
+
+- (void) openURLEndSheet: (id) sender
+{
+    [[self window] orderOut: sender];
+    [NSApp endSheet: [self window] returnCode: 1];
+}
+
+- (void) openURLCancelEndSheet: (id) sender
+{
+    [[self window] orderOut: sender];
+    [NSApp endSheet: [self window] returnCode: 0];
+}
+
+- (void) sheetDidEnd: (NSWindow *) sheet returnCode: (NSInteger) returnCode contextInfo: (void *) contextInfo
+{
+    [fController urlSheetDidEnd: self url: [fTextField stringValue] returnCode: returnCode];
+}
+
+- (void) controlTextDidChange: (NSNotification *) notification
+{
+    NSString * string = [fTextField stringValue];
+    BOOL enable = YES;
+    if ([string isEqualToString: @""])
+        enable = NO;
+    else
+    {
+        NSRange prefixRange = [string rangeOfString: @"://"];
+        if (prefixRange.location != NSNotFound && [string length] == NSMaxRange(prefixRange))
+            enable = NO;
+    }
+    
+    [fOpenButton setEnabled: enable];
+}
+
+@end
index 2e4b5a6ddec2e0fb59fec962594800b9c95c8c2a..32149c21021f33609539d536693eabe50be2fe69 100644 (file)
@@ -2620,110 +2620,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                        <object class="NSUserDefaultsController" id="171637775">
                                <bool key="NSSharedInstance">YES</bool>
                        </object>
-                       <object class="NSWindowTemplate" id="992647214">
-                               <int key="NSWindowStyleMask">15</int>
-                               <int key="NSWindowBacking">2</int>
-                               <string key="NSWindowRect">{{168, 356}, {400, 177}}</string>
-                               <int key="NSWTFlags">1886912512</int>
-                               <string key="NSWindowTitle">Window</string>
-                               <string key="NSWindowClass">NSWindow</string>
-                               <object class="NSMutableString" key="NSViewClass">
-                                       <characters key="NS.bytes">View</characters>
-                               </object>
-                               <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
-                               <string key="NSWindowContentMinSize">{400, 177}</string>
-                               <object class="NSView" key="NSWindowView" id="13427666">
-                                       <nil key="NSNextResponder"/>
-                                       <int key="NSvFlags">256</int>
-                                       <object class="NSMutableArray" key="NSSubviews">
-                                               <bool key="EncodedWithXMLCoder">YES</bool>
-                                               <object class="NSTextField" id="188853779">
-                                                       <reference key="NSNextResponder" ref="13427666"/>
-                                                       <int key="NSvFlags">274</int>
-                                                       <string key="NSFrame">{{20, 50}, {360, 80}}</string>
-                                                       <reference key="NSSuperview" ref="13427666"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="1061347416">
-                                                               <int key="NSCellFlags">-1805517311</int>
-                                                               <int key="NSCellFlags2">272630272</int>
-                                                               <string key="NSContents"/>
-                                                               <reference key="NSSupport" ref="622385820"/>
-                                                               <reference key="NSControlView" ref="188853779"/>
-                                                               <bool key="NSDrawsBackground">YES</bool>
-                                                               <reference key="NSBackgroundColor" ref="570792161"/>
-                                                               <object class="NSColor" key="NSTextColor">
-                                                                       <int key="NSColorSpace">6</int>
-                                                                       <string key="NSCatalogName">System</string>
-                                                                       <string key="NSColorName">textColor</string>
-                                                                       <reference key="NSColor" ref="438270934"/>
-                                                               </object>
-                                                       </object>
-                                               </object>
-                                               <object class="NSButton" id="1001733131">
-                                                       <reference key="NSNextResponder" ref="13427666"/>
-                                                       <int key="NSvFlags">289</int>
-                                                       <string key="NSFrame">{{304, 12}, {82, 32}}</string>
-                                                       <reference key="NSSuperview" ref="13427666"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="172529900">
-                                                               <int key="NSCellFlags">604110336</int>
-                                                               <int key="NSCellFlags2">134217728</int>
-                                                               <string key="NSContents">Open</string>
-                                                               <reference key="NSSupport" ref="622385820"/>
-                                                               <reference key="NSControlView" ref="1001733131"/>
-                                                               <int key="NSButtonFlags">-2038284033</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="622385820"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                               </object>
-                                               <object class="NSButton" id="868942125">
-                                                       <reference key="NSNextResponder" ref="13427666"/>
-                                                       <int key="NSvFlags">289</int>
-                                                       <string key="NSFrame">{{222, 12}, {82, 32}}</string>
-                                                       <reference key="NSSuperview" ref="13427666"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSButtonCell" key="NSCell" id="376796441">
-                                                               <int key="NSCellFlags">67239424</int>
-                                                               <int key="NSCellFlags2">134217728</int>
-                                                               <string key="NSContents">Cancel</string>
-                                                               <reference key="NSSupport" ref="622385820"/>
-                                                               <reference key="NSControlView" ref="868942125"/>
-                                                               <int key="NSButtonFlags">-2038284033</int>
-                                                               <int key="NSButtonFlags2">1</int>
-                                                               <reference key="NSAlternateImage" ref="622385820"/>
-                                                               <string key="NSAlternateContents"/>
-                                                               <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
-                                                               <int key="NSPeriodicDelay">200</int>
-                                                               <int key="NSPeriodicInterval">25</int>
-                                                       </object>
-                                               </object>
-                                               <object class="NSTextField" id="38988792">
-                                                       <reference key="NSNextResponder" ref="13427666"/>
-                                                       <int key="NSvFlags">268</int>
-                                                       <string key="NSFrame">{{17, 140}, {200, 17}}</string>
-                                                       <reference key="NSSuperview" ref="13427666"/>
-                                                       <bool key="NSEnabled">YES</bool>
-                                                       <object class="NSTextFieldCell" key="NSCell" id="116883959">
-                                                               <int key="NSCellFlags">67239424</int>
-                                                               <int key="NSCellFlags2">272629760</int>
-                                                               <string key="NSContents">Internet address of torrent file:</string>
-                                                               <reference key="NSSupport" ref="622385820"/>
-                                                               <reference key="NSControlView" ref="38988792"/>
-                                                               <reference key="NSBackgroundColor" ref="969793804"/>
-                                                               <reference key="NSTextColor" ref="911300388"/>
-                                                       </object>
-                                               </object>
-                                       </object>
-                                       <string key="NSFrameSize">{400, 177}</string>
-                               </object>
-                               <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
-                               <string key="NSMinSize">{400, 199}</string>
-                               <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
-                       </object>
                        <object class="NSMenu" id="354817592">
                                <string key="NSTitle">ActionMenu</string>
                                <object class="NSMutableArray" key="NSMenuItems">
@@ -4038,38 +3934,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        </object>
                                        <int key="connectionID">1847</int>
                                </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">fURLSheetWindow</string>
-                                               <reference key="source" ref="30116300"/>
-                                               <reference key="destination" ref="992647214"/>
-                                       </object>
-                                       <int key="connectionID">1853</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">fURLSheetTextField</string>
-                                               <reference key="source" ref="30116300"/>
-                                               <reference key="destination" ref="188853779"/>
-                                       </object>
-                                       <int key="connectionID">1854</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">openURLEndSheet:</string>
-                                               <reference key="source" ref="30116300"/>
-                                               <reference key="destination" ref="1001733131"/>
-                                       </object>
-                                       <int key="connectionID">1855</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" key="connection">
-                                               <string key="label">openURLCancelEndSheet:</string>
-                                               <reference key="source" ref="30116300"/>
-                                               <reference key="destination" ref="868942125"/>
-                                       </object>
-                                       <int key="connectionID">1856</int>
-                               </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" key="connection">
                                                <string key="label">openURLShowSheet:</string>
@@ -4830,22 +4694,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        </object>
                                        <int key="connectionID">3154</int>
                                </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">fURLSheetOpenButton</string>
-                                               <reference key="source" ref="30116300"/>
-                                               <reference key="destination" ref="1001733131"/>
-                                       </object>
-                                       <int key="connectionID">3156</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">delegate</string>
-                                               <reference key="source" ref="188853779"/>
-                                               <reference key="destination" ref="30116300"/>
-                                       </object>
-                                       <int key="connectionID">3157</int>
-                               </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" key="connection">
                                                <string key="label">toggleStatusString:</string>
@@ -6361,64 +6209,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                <reference key="parent" ref="0"/>
                                                <string key="objectName">Shared Defaults</string>
                                        </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1848</int>
-                                               <reference key="object" ref="992647214"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="13427666"/>
-                                               </object>
-                                               <reference key="parent" ref="0"/>
-                                               <string key="objectName">URLSheetWindow</string>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1849</int>
-                                               <reference key="object" ref="13427666"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="188853779"/>
-                                                       <reference ref="1001733131"/>
-                                                       <reference ref="868942125"/>
-                                                       <reference ref="38988792"/>
-                                               </object>
-                                               <reference key="parent" ref="992647214"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1850</int>
-                                               <reference key="object" ref="188853779"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="1061347416"/>
-                                               </object>
-                                               <reference key="parent" ref="13427666"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1851</int>
-                                               <reference key="object" ref="1001733131"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="172529900"/>
-                                               </object>
-                                               <reference key="parent" ref="13427666"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1852</int>
-                                               <reference key="object" ref="868942125"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="376796441"/>
-                                               </object>
-                                               <reference key="parent" ref="13427666"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">1857</int>
-                                               <reference key="object" ref="38988792"/>
-                                               <object class="NSMutableArray" key="children">
-                                                       <bool key="EncodedWithXMLCoder">YES</bool>
-                                                       <reference ref="116883959"/>
-                                               </object>
-                                               <reference key="parent" ref="13427666"/>
-                                       </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">1936</int>
                                                <reference key="object" ref="588646173"/>
@@ -6725,26 +6515,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                <reference key="object" ref="745428997"/>
                                                <reference key="parent" ref="128892418"/>
                                        </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">3064</int>
-                                               <reference key="object" ref="1061347416"/>
-                                               <reference key="parent" ref="188853779"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">3065</int>
-                                               <reference key="object" ref="172529900"/>
-                                               <reference key="parent" ref="1001733131"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">3066</int>
-                                               <reference key="object" ref="376796441"/>
-                                               <reference key="parent" ref="868942125"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
-                                               <int key="objectID">3067</int>
-                                               <reference key="object" ref="116883959"/>
-                                               <reference key="parent" ref="38988792"/>
-                                       </object>
                                        <object class="IBObjectRecord">
                                                <int key="objectID">2683</int>
                                                <reference key="object" ref="97165992"/>
@@ -7341,24 +7111,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        <string>1815.ImportedFromIB2</string>
                                        <string>1846.IBPluginDependency</string>
                                        <string>1846.ImportedFromIB2</string>
-                                       <string>1848.IBEditorWindowLastContentRect</string>
-                                       <string>1848.IBPluginDependency</string>
-                                       <string>1848.IBWindowTemplateEditedContentRect</string>
-                                       <string>1848.ImportedFromIB2</string>
-                                       <string>1848.windowTemplate.hasMaxSize</string>
-                                       <string>1848.windowTemplate.hasMinSize</string>
-                                       <string>1848.windowTemplate.maxSize</string>
-                                       <string>1848.windowTemplate.minSize</string>
-                                       <string>1849.IBPluginDependency</string>
-                                       <string>1849.ImportedFromIB2</string>
-                                       <string>1850.IBPluginDependency</string>
-                                       <string>1850.ImportedFromIB2</string>
-                                       <string>1851.IBPluginDependency</string>
-                                       <string>1851.ImportedFromIB2</string>
-                                       <string>1852.IBPluginDependency</string>
-                                       <string>1852.ImportedFromIB2</string>
-                                       <string>1857.IBPluginDependency</string>
-                                       <string>1857.ImportedFromIB2</string>
                                        <string>1858.IBPluginDependency</string>
                                        <string>1858.ImportedFromIB2</string>
                                        <string>1860.IBPluginDependency</string>
@@ -7607,10 +7359,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        <string>3061.IBPluginDependency</string>
                                        <string>3062.IBPluginDependency</string>
                                        <string>3063.IBPluginDependency</string>
-                                       <string>3064.IBPluginDependency</string>
-                                       <string>3065.IBPluginDependency</string>
-                                       <string>3066.IBPluginDependency</string>
-                                       <string>3067.IBPluginDependency</string>
                                        <string>3077.IBPluginDependency</string>
                                        <string>3078.IBPluginDependency</string>
                                        <string>3078.ImportedFromIB2</string>
@@ -7959,24 +7707,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <integer value="1"/>
-                                       <string>{{0, 818}, {400, 177}}</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>{{0, 818}, {400, 177}}</string>
-                                       <integer value="1"/>
-                                       <integer value="0"/>
-                                       <integer value="1"/>
-                                       <string>{3.40282e+38, 3.40282e+38}</string>
-                                       <string>{400, 177}</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <integer value="1"/>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <integer value="1"/>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <integer value="1"/>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <integer value="1"/>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -8229,10 +7959,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <integer value="1"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <integer value="1"/>
@@ -8390,8 +8116,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>linkTrac:</string>
                                                        <string>moveDataFilesSelected:</string>
                                                        <string>openShowSheet:</string>
-                                                       <string>openURLCancelEndSheet:</string>
-                                                       <string>openURLEndSheet:</string>
                                                        <string>openURLShowSheet:</string>
                                                        <string>removeDeleteData:</string>
                                                        <string>removeNoDelete:</string>
@@ -8489,8 +8213,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>id</string>
                                                        <string>id</string>
                                                        <string>id</string>
-                                                       <string>id</string>
-                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="actionInfosByName">
@@ -8509,8 +8231,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>linkTrac:</string>
                                                        <string>moveDataFilesSelected:</string>
                                                        <string>openShowSheet:</string>
-                                                       <string>openURLCancelEndSheet:</string>
-                                                       <string>openURLEndSheet:</string>
                                                        <string>openURLShowSheet:</string>
                                                        <string>removeDeleteData:</string>
                                                        <string>removeNoDelete:</string>
@@ -8603,14 +8323,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                                <string key="name">openShowSheet:</string>
                                                                <string key="candidateClassName">id</string>
                                                        </object>
-                                                       <object class="IBActionInfo">
-                                                               <string key="name">openURLCancelEndSheet:</string>
-                                                               <string key="candidateClassName">id</string>
-                                                       </object>
-                                                       <object class="IBActionInfo">
-                                                               <string key="name">openURLEndSheet:</string>
-                                                               <string key="candidateClassName">id</string>
-                                                       </object>
                                                        <object class="IBActionInfo">
                                                                <string key="name">openURLShowSheet:</string>
                                                                <string key="candidateClassName">id</string>
@@ -8814,9 +8526,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>fTotalDLImageView</string>
                                                        <string>fTotalTorrentsField</string>
                                                        <string>fTotalULField</string>
-                                                       <string>fURLSheetOpenButton</string>
-                                                       <string>fURLSheetTextField</string>
-                                                       <string>fURLSheetWindow</string>
                                                        <string>fUploadLimitItem</string>
                                                        <string>fUploadMenu</string>
                                                        <string>fUploadNoLimitItem</string>
@@ -8857,9 +8566,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>NSImageView</string>
                                                        <string>NSTextField</string>
                                                        <string>NSTextField</string>
-                                                       <string>NSButton</string>
-                                                       <string>NSTextField</string>
-                                                       <string>NSWindow</string>
                                                        <string>NSMenuItem</string>
                                                        <string>NSMenu</string>
                                                        <string>NSMenuItem</string>
@@ -8903,9 +8609,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                        <string>fTotalDLImageView</string>
                                                        <string>fTotalTorrentsField</string>
                                                        <string>fTotalULField</string>
-                                                       <string>fURLSheetOpenButton</string>
-                                                       <string>fURLSheetTextField</string>
-                                                       <string>fURLSheetWindow</string>
                                                        <string>fUploadLimitItem</string>
                                                        <string>fUploadMenu</string>
                                                        <string>fUploadNoLimitItem</string>
@@ -9045,18 +8748,6 @@ AAAAAAAAAAAAAAAAA</bytes>
                                                                <string key="name">fTotalULField</string>
                                                                <string key="candidateClassName">NSTextField</string>
                                                        </object>
-                                                       <object class="IBToOneOutletInfo">
-                                                               <string key="name">fURLSheetOpenButton</string>
-                                                               <string key="candidateClassName">NSButton</string>
-                                                       </object>
-                                                       <object class="IBToOneOutletInfo">
-                                                               <string key="name">fURLSheetTextField</string>
-                                                               <string key="candidateClassName">NSTextField</string>
-                                                       </object>
-                                                       <object class="IBToOneOutletInfo">
-                                                               <string key="name">fURLSheetWindow</string>
-                                                               <string key="candidateClassName">NSWindow</string>
-                                                       </object>
                                                        <object class="IBToOneOutletInfo">
                                                                <string key="name">fUploadLimitItem</string>
                                                                <string key="candidateClassName">NSMenuItem</string>