[52461] branches/gsoc09-gui/MPGUI

juanger at macports.org juanger at macports.org
Tue Jun 16 20:15:38 PDT 2009


Revision: 52461
          http://trac.macports.org/changeset/52461
Author:   juanger at macports.org
Date:     2009-06-16 20:15:37 -0700 (Tue, 16 Jun 2009)
Log Message:
-----------
Multithreading will now be managed by MPActionLauncher.

Modified Paths:
--------------
    branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib
    branches/gsoc09-gui/MPGUI/MPActionLauncher.m
    branches/gsoc09-gui/MPGUI/PortsTableController.h
    branches/gsoc09-gui/MPGUI/PortsTableController.m

Modified: branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib
===================================================================
--- branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib	2009-06-17 03:02:45 UTC (rev 52460)
+++ branches/gsoc09-gui/MPGUI/English.lproj/MainMenu.xib	2009-06-17 03:15:37 UTC (rev 52461)
@@ -2534,14 +2534,6 @@
 					<int key="connectionID">499</int>
 				</object>
 				<object class="IBConnectionRecord">
-					<object class="IBOutletConnection" key="connection">
-						<string key="label">actionLauncher</string>
-						<reference key="source" ref="517167976"/>
-						<reference key="destination" ref="1022824499"/>
-					</object>
-					<int key="connectionID">505</int>
-				</object>
-				<object class="IBConnectionRecord">
 					<object class="IBBindingConnection" key="connection">
 						<string key="label">contentArray: ports</string>
 						<reference key="source" ref="341892693"/>
@@ -4234,14 +4226,12 @@
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						<object class="NSMutableArray" key="dict.sortedKeys">
 							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>actionLauncher</string>
 							<string>mainWindow</string>
 							<string>portsTableView</string>
 							<string>predicateEditor</string>
 						</object>
 						<object class="NSMutableArray" key="dict.values">
 							<bool key="EncodedWithXMLCoder">YES</bool>
-							<string>MPActionLauncher</string>
 							<string>NSWindow</string>
 							<string>NSTableView</string>
 							<string>NSPredicateEditor</string>

Modified: branches/gsoc09-gui/MPGUI/MPActionLauncher.m
===================================================================
--- branches/gsoc09-gui/MPGUI/MPActionLauncher.m	2009-06-17 03:02:45 UTC (rev 52460)
+++ branches/gsoc09-gui/MPGUI/MPActionLauncher.m	2009-06-17 03:15:37 UTC (rev 52461)
@@ -22,6 +22,7 @@
     [MPMacPorts setPKGPath:pkgPath];
     NSLog(pkgPath);
     ports = [NSMutableArray arrayWithCapacity:6000];
+    [self performSelectorInBackground:@selector(loadPorts) withObject:nil];
     return self;
 }
 

Modified: branches/gsoc09-gui/MPGUI/PortsTableController.h
===================================================================
--- branches/gsoc09-gui/MPGUI/PortsTableController.h	2009-06-17 03:02:45 UTC (rev 52460)
+++ branches/gsoc09-gui/MPGUI/PortsTableController.h	2009-06-17 03:15:37 UTC (rev 52461)
@@ -11,7 +11,6 @@
 
 
 @interface PortsTableController : NSObject {
-    IBOutlet MPActionLauncher *actionLauncher;
     IBOutlet NSTableView *portsTableView;
     IBOutlet NSPredicateEditor *predicateEditor;
     IBOutlet NSWindow *mainWindow;

Modified: branches/gsoc09-gui/MPGUI/PortsTableController.m
===================================================================
--- branches/gsoc09-gui/MPGUI/PortsTableController.m	2009-06-17 03:02:45 UTC (rev 52460)
+++ branches/gsoc09-gui/MPGUI/PortsTableController.m	2009-06-17 03:15:37 UTC (rev 52461)
@@ -20,7 +20,6 @@
 }
 
 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
-    [actionLauncher performSelectorInBackground:@selector(loadPorts) withObject:nil];
     [self changePredicateEditorSize:0];
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090616/9b1e2dac/attachment.html>


More information about the macports-changes mailing list