Changeset 10056
- Timestamp:
- Jan 31, 2010, 11:36:48 PM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/AddWindowController.h
r9844 r10056 35 35 IBOutlet NSButton * fStartCheck, * fDeleteCheck; 36 36 IBOutlet NSPopUpButton * fGroupPopUp; 37 IBOutlet NSProgressIndicator * fVerifyIndicator; 37 38 38 39 IBOutlet FileOutlineController * fFileController; -
trunk/macosx/AddWindowController.m
r9844 r10056 35 35 @interface AddWindowController (Private) 36 36 37 - (void) updateFiles; 38 37 39 - (void) confirmAdd; 38 40 … … 106 108 } 107 109 108 fTimer = [NSTimer scheduledTimerWithTimeInterval: UPDATE_SECONDS target: fFileController 109 selector: @selector(reloadData) userInfo: nil repeats: YES]; 110 fTimer = [NSTimer scheduledTimerWithTimeInterval: UPDATE_SECONDS target: self 111 selector: @selector(updateFiles) userInfo: nil repeats: YES]; 112 [self updateFiles]; 110 113 } 111 114 … … 192 195 { 193 196 [fTorrent resetCache]; 194 [ fFileController reloadData];197 [self updateFiles]; 195 198 } 196 199 … … 230 233 @implementation AddWindowController (Private) 231 234 235 - (void) updateFiles 236 { 237 [fTorrent update]; 238 239 [fFileController reloadData]; 240 241 if ([fTorrent isChecking]) 242 { 243 [fVerifyIndicator setHidden: NO]; 244 [fVerifyIndicator setDoubleValue: [fTorrent checkingProgress]]; 245 } 246 else 247 [fVerifyIndicator setHidden: YES]; 248 } 249 232 250 - (void) confirmAdd 233 251 { -
trunk/macosx/en.lproj/AddWindow.xib
r9923 r10056 13 13 <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> 14 14 <bool key="EncodedWithXMLCoder">YES</bool> 15 <integer value=" 2"/>15 <integer value="68"/> 16 16 </object> 17 17 <object class="NSArray" key="IBDocument.PluginDependencies"> … … 608 608 </object> 609 609 </object> 610 <object class="NSProgressIndicator" id="744550600"> 611 <reference key="NSNextResponder" ref="1006"/> 612 <int key="NSvFlags">1316</int> 613 <object class="NSPSMatrix" key="NSDrawMatrix"/> 614 <string key="NSFrame">{{162, 72}, {16, 16}}</string> 615 <reference key="NSSuperview" ref="1006"/> 616 <int key="NSpiFlags">28936</int> 617 <double key="NSMaxValue">1</double> 618 </object> 610 619 </object> 611 620 <string key="NSFrameSize">{414, 493}</string> … … 768 777 <int key="connectionID">67</int> 769 778 </object> 779 <object class="IBConnectionRecord"> 780 <object class="IBOutletConnection" key="connection"> 781 <string key="label">fVerifyIndicator</string> 782 <reference key="source" ref="1001"/> 783 <reference key="destination" ref="744550600"/> 784 </object> 785 <int key="connectionID">69</int> 786 </object> 770 787 </object> 771 788 <object class="IBMutableOrderedSet" key="objectRecords"> … … 826 843 <reference ref="46983627"/> 827 844 <reference ref="38073450"/> 845 <reference ref="744550600"/> 828 846 </object> 829 847 <reference key="parent" ref="1005"/> … … 1122 1140 <reference key="object" ref="37031308"/> 1123 1141 <reference key="parent" ref="38073450"/> 1142 </object> 1143 <object class="IBObjectRecord"> 1144 <int key="objectID">68</int> 1145 <reference key="object" ref="744550600"/> 1146 <reference key="parent" ref="1006"/> 1124 1147 </object> 1125 1148 </object> … … 1202 1225 <string>65.IBPluginDependency</string> 1203 1226 <string>66.IBPluginDependency</string> 1227 <string>68.IBPluginDependency</string> 1204 1228 <string>7.IBPluginDependency</string> 1205 1229 <string>8.IBPluginDependency</string> … … 1210 1234 <bool key="EncodedWithXMLCoder">YES</bool> 1211 1235 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1212 <string>{{ 69, 327}, {414, 493}}</string>1213 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1214 <string>{{ 69, 327}, {414, 493}}</string>1236 <string>{{82, 425}, {414, 493}}</string> 1237 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1238 <string>{{82, 425}, {414, 493}}</string> 1215 1239 <integer value="1"/> 1216 1240 <string>{196, 240}</string> … … 1277 1301 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1278 1302 <integer value="1"/> 1303 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1279 1304 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> 1280 1305 <string>com.apple.InterfaceBuilder.CocoaPlugin</string> … … 1304 1329 </object> 1305 1330 <nil key="sourceID"/> 1306 <int key="maxID">6 7</int>1331 <int key="maxID">69</int> 1307 1332 </object> 1308 1333 <object class="IBClassDescriber" key="IBDocument.Classes"> … … 1342 1367 <string>fStartCheck</string> 1343 1368 <string>fStatusField</string> 1369 <string>fVerifyIndicator</string> 1344 1370 </object> 1345 1371 <object class="NSMutableArray" key="dict.values"> … … 1354 1380 <string>NSButton</string> 1355 1381 <string>NSTextField</string> 1382 <string>NSProgressIndicator</string> 1356 1383 </object> 1357 1384 </object> … … 1899 1926 <string key="majorKey">IBFrameworkSource</string> 1900 1927 <string key="minorKey">AppKit.framework/Headers/NSPopUpButtonCell.h</string> 1928 </object> 1929 </object> 1930 <object class="IBPartialClassDescription"> 1931 <string key="className">NSProgressIndicator</string> 1932 <string key="superclassName">NSView</string> 1933 <object class="IBClassDescriptionSource" key="sourceIdentifier"> 1934 <string key="majorKey">IBFrameworkSource</string> 1935 <string key="minorKey">AppKit.framework/Headers/NSProgressIndicator.h</string> 1901 1936 </object> 1902 1937 </object>
Note: See TracChangeset
for help on using the changeset viewer.