[68983] branches/gsoc10-gui/Pallet

tzikis at macports.org tzikis at macports.org
Sat Jun 19 09:01:00 PDT 2010


Revision: 68983
          http://trac.macports.org/changeset/68983
Author:   tzikis at macports.org
Date:     2010-06-19 09:00:56 -0700 (Sat, 19 Jun 2010)
Log Message:
-----------
Completed the Queueing Feature

Modified Paths:
--------------
    branches/gsoc10-gui/Pallet/English.lproj/MainMenu.xib
    branches/gsoc10-gui/Pallet/MPActionLauncher.h
    branches/gsoc10-gui/Pallet/MPActionLauncher.m
    branches/gsoc10-gui/Pallet/MPActionsController.h
    branches/gsoc10-gui/Pallet/MPActionsController.m
    branches/gsoc10-gui/Pallet/Pallet.xcodeproj/project.pbxproj

Added Paths:
-----------
    branches/gsoc10-gui/Pallet/GrowlNotifications.h

Modified: branches/gsoc10-gui/Pallet/English.lproj/MainMenu.xib
===================================================================
--- branches/gsoc10-gui/Pallet/English.lproj/MainMenu.xib	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/English.lproj/MainMenu.xib	2010-06-19 16:00:56 UTC (rev 68983)
@@ -3,16 +3,17 @@
 	<data>
 		<int key="IBDocument.SystemTarget">1050</int>
 		<string key="IBDocument.SystemVersion">10D573</string>
-		<string key="IBDocument.InterfaceBuilderVersion">762</string>
+		<string key="IBDocument.InterfaceBuilderVersion">788</string>
 		<string key="IBDocument.AppKitVersion">1038.29</string>
 		<string key="IBDocument.HIToolboxVersion">460.00</string>
 		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
 			<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
-			<string key="NS.object.0">762</string>
+			<string key="NS.object.0">788</string>
 		</object>
 		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
 			<bool key="EncodedWithXMLCoder">YES</bool>
-			<integer value="371"/>
+			<integer value="885"/>
+			<integer value="403"/>
 		</object>
 		<object class="NSArray" key="IBDocument.PluginDependencies">
 			<bool key="EncodedWithXMLCoder">YES</bool>
@@ -950,11 +951,9 @@
 								<string key="NSToolbarItemPaletteLabel">Search</string>
 								<nil key="NSToolbarItemToolTip"/>
 								<object class="NSSearchField" key="NSToolbarItemView" id="848482443">
-									<reference key="NSNextResponder"/>
+									<nil key="NSNextResponder"/>
 									<int key="NSvFlags">268</int>
 									<string key="NSFrame">{{0, 14}, {133, 22}}</string>
-									<reference key="NSSuperview"/>
-									<reference key="NSWindow"/>
 									<bool key="NSEnabled">YES</bool>
 									<object class="NSSearchFieldCell" key="NSCell" id="618193001">
 										<int key="NSCellFlags">343014976</int>
@@ -1072,11 +1071,9 @@
 								<string key="NSToolbarItemPaletteLabel">Install</string>
 								<nil key="NSToolbarItemToolTip"/>
 								<object class="NSPopUpButton" key="NSToolbarItemView" id="1026904284">
-									<reference key="NSNextResponder"/>
+									<nil key="NSNextResponder"/>
 									<int key="NSvFlags">268</int>
 									<string key="NSFrame">{{0, 14}, {60, 60}}</string>
-									<reference key="NSSuperview"/>
-									<reference key="NSWindow"/>
 									<int key="NSTag">-1</int>
 									<bool key="NSEnabled">YES</bool>
 									<object class="NSPopUpButtonCell" key="NSCell" id="8730458">
@@ -1084,13 +1081,8 @@
 										<int key="NSCellFlags2">67110912</int>
 										<reference key="NSSupport" ref="782475540"/>
 										<reference key="NSControlView" ref="1026904284"/>
-										<int key="NSButtonFlags">-2046148353</int>
+										<int key="NSButtonFlags">-2046279425</int>
 										<int key="NSButtonFlags2">70</int>
-										<object class="NSFont" key="NSAlternateImage" id="453596279">
-											<string key="NSName">LucidaGrande</string>
-											<double key="NSSize">13</double>
-											<int key="NSfFlags">16</int>
-										</object>
 										<string key="NSAlternateContents"/>
 										<string key="NSKeyEquivalent"/>
 										<int key="NSPeriodicDelay">400</int>
@@ -1103,7 +1095,7 @@
 											<int key="NSKeyEquivModMask">1048576</int>
 											<int key="NSMnemonicLoc">2147483647</int>
 											<int key="NSState">1</int>
-											<object class="NSCustomResource" key="NSImage" id="410937053">
+											<object class="NSCustomResource" key="NSImage" id="892531157">
 												<string key="NSClassName">NSImage</string>
 												<string key="NSResourceName">TB_Install</string>
 											</object>
@@ -1149,7 +1141,7 @@
 										<bool key="NSAltersState">YES</bool>
 									</object>
 								</object>
-								<reference key="NSToolbarItemImage" ref="410937053"/>
+								<reference key="NSToolbarItemImage" ref="892531157"/>
 								<nil key="NSToolbarItemTarget"/>
 								<nil key="NSToolbarItemAction"/>
 								<string key="NSToolbarItemMinSize">{32, 32}</string>
@@ -3106,7 +3098,11 @@
 								<int key="NSCellFlags">67239424</int>
 								<int key="NSCellFlags2">272629760</int>
 								<string key="NSContents">description…</string>
-								<reference key="NSSupport" ref="453596279"/>
+								<object class="NSFont" key="NSSupport">
+									<string key="NSName">LucidaGrande</string>
+									<double key="NSSize">13</double>
+									<int key="NSfFlags">16</int>
+								</object>
 								<reference key="NSControlView" ref="914889962"/>
 								<reference key="NSBackgroundColor" ref="377834071"/>
 								<reference key="NSTextColor" ref="102768443"/>
@@ -3332,7 +3328,7 @@
 				<string key="NSClassName">ActivityController</string>
 			</object>
 			<object class="NSCustomView" id="610590059">
-				<nil key="NSNextResponder"/>
+				<reference key="NSNextResponder"/>
 				<int key="NSvFlags">256</int>
 				<object class="NSMutableArray" key="NSSubviews">
 					<bool key="EncodedWithXMLCoder">YES</bool>
@@ -3369,13 +3365,13 @@
 									<object class="NSTableView" id="7154443">
 										<reference key="NSNextResponder" ref="874476791"/>
 										<int key="NSvFlags">256</int>
-										<string key="NSFrameSize">{254, 418}</string>
+										<string key="NSFrameSize">{280, 418}</string>
 										<reference key="NSSuperview" ref="874476791"/>
 										<bool key="NSEnabled">YES</bool>
 										<object class="NSTableHeaderView" key="NSHeaderView" id="446743769">
 											<reference key="NSNextResponder" ref="171583958"/>
 											<int key="NSvFlags">256</int>
-											<string key="NSFrameSize">{254, 17}</string>
+											<string key="NSFrameSize">{280, 17}</string>
 											<reference key="NSSuperview" ref="171583958"/>
 											<reference key="NSTableView" ref="7154443"/>
 										</object>
@@ -3417,7 +3413,7 @@
 												<reference key="NSTableView" ref="7154443"/>
 											</object>
 											<object class="NSTableColumn" id="315945499">
-												<double key="NSWidth">120</double>
+												<double key="NSWidth">84</double>
 												<double key="NSMinWidth">40</double>
 												<double key="NSMaxWidth">1000</double>
 												<object class="NSTableHeaderCell" key="NSHeaderCell">
@@ -3443,7 +3439,7 @@
 												<reference key="NSTableView" ref="7154443"/>
 											</object>
 											<object class="NSTableColumn" id="112554963">
-												<double key="NSWidth">64</double>
+												<double key="NSWidth">126</double>
 												<double key="NSMinWidth">10</double>
 												<double key="NSMaxWidth">3.4028234663852886e+38</double>
 												<object class="NSTableHeaderCell" key="NSHeaderCell">
@@ -3454,14 +3450,14 @@
 													<reference key="NSBackgroundColor" ref="934732725"/>
 													<reference key="NSTextColor" ref="67059057"/>
 												</object>
-												<object class="NSTextFieldCell" key="NSDataCell" id="647470268">
-													<int key="NSCellFlags">337772096</int>
-													<int key="NSCellFlags2">2048</int>
-													<string key="NSContents">Text Cell</string>
+												<object class="NSImageCell" key="NSDataCell" id="329513077">
+													<int key="NSCellFlags">67239424</int>
+													<int key="NSCellFlags2">33554432</int>
 													<reference key="NSSupport" ref="782475540"/>
-													<reference key="NSControlView" ref="7154443"/>
-													<reference key="NSBackgroundColor" ref="800202432"/>
-													<reference key="NSTextColor" ref="475656758"/>
+													<int key="NSAlign">4</int>
+													<int key="NSScale">0</int>
+													<int key="NSStyle">0</int>
+													<bool key="NSAnimates">NO</bool>
 												</object>
 												<int key="NSResizingMask">3</int>
 												<bool key="NSIsResizeable">YES</bool>
@@ -3541,6 +3537,7 @@
 					</object>
 				</object>
 				<string key="NSFrameSize">{240, 468}</string>
+				<reference key="NSSuperview"/>
 				<string key="NSClassName">NSView</string>
 			</object>
 			<object class="NSDrawer" id="379104054">
@@ -3561,6 +3558,7 @@
 					<string>operation</string>
 					<string>port</string>
 					<string>variants</string>
+					<string>image</string>
 				</object>
 				<bool key="NSEditable">YES</bool>
 				<object class="_NSManagedProxy" key="_NSManagedProxy"/>
@@ -4598,6 +4596,38 @@
 					</object>
 					<int key="connectionID">912</int>
 				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBBindingConnection" key="connection">
+						<string key="label">contentArray: queueArray</string>
+						<reference key="source" ref="194540380"/>
+						<reference key="destination" ref="800227439"/>
+						<object class="NSNibBindingConnector" key="connector">
+							<reference key="NSSource" ref="194540380"/>
+							<reference key="NSDestination" ref="800227439"/>
+							<string key="NSLabel">contentArray: queueArray</string>
+							<string key="NSBinding">contentArray</string>
+							<string key="NSKeyPath">queueArray</string>
+							<int key="NSNibBindingConnectorVersion">2</int>
+						</object>
+					</object>
+					<int key="connectionID">915</int>
+				</object>
+				<object class="IBConnectionRecord">
+					<object class="IBBindingConnection" key="connection">
+						<string key="label">value: arrangedObjects.image</string>
+						<reference key="source" ref="112554963"/>
+						<reference key="destination" ref="194540380"/>
+						<object class="NSNibBindingConnector" key="connector">
+							<reference key="NSSource" ref="112554963"/>
+							<reference key="NSDestination" ref="194540380"/>
+							<string key="NSLabel">value: arrangedObjects.image</string>
+							<string key="NSBinding">value</string>
+							<string key="NSKeyPath">arrangedObjects.image</string>
+							<int key="NSNibBindingConnectorVersion">2</int>
+						</object>
+					</object>
+					<int key="connectionID">918</int>
+				</object>
 			</object>
 			<object class="IBMutableOrderedSet" key="objectRecords">
 				<object class="NSArray" key="orderedObjects">
@@ -6020,8 +6050,8 @@
 						<reference key="object" ref="610590059"/>
 						<object class="NSMutableArray" key="children">
 							<bool key="EncodedWithXMLCoder">YES</bool>
+							<reference ref="452370589"/>
 							<reference ref="271863607"/>
-							<reference ref="452370589"/>
 						</object>
 						<reference key="parent" ref="0"/>
 						<string key="objectName">Drawer Content View</string>
@@ -6122,16 +6152,11 @@
 						<reference key="object" ref="112554963"/>
 						<object class="NSMutableArray" key="children">
 							<bool key="EncodedWithXMLCoder">YES</bool>
-							<reference ref="647470268"/>
+							<reference ref="329513077"/>
 						</object>
 						<reference key="parent" ref="7154443"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">886</int>
-						<reference key="object" ref="647470268"/>
-						<reference key="parent" ref="112554963"/>
-					</object>
-					<object class="IBObjectRecord">
 						<int key="objectID">901</int>
 						<reference key="object" ref="725383560"/>
 						<object class="NSMutableArray" key="children">
@@ -6184,6 +6209,11 @@
 						<reference key="object" ref="678275902"/>
 						<reference key="parent" ref="197671942"/>
 					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">916</int>
+						<reference key="object" ref="329513077"/>
+						<reference key="parent" ref="112554963"/>
+					</object>
 				</object>
 			</object>
 			<object class="NSMutableDictionary" key="flattenedProperties">
@@ -6507,7 +6537,6 @@
 					<string>869.IBPluginDependency</string>
 					<string>870.IBPluginDependency</string>
 					<string>885.IBPluginDependency</string>
-					<string>886.IBPluginDependency</string>
 					<string>895.IBPluginDependency</string>
 					<string>896.IBPluginDependency</string>
 					<string>897.IBEditorWindowLastContentRect</string>
@@ -6516,6 +6545,7 @@
 					<string>899.IBPluginDependency</string>
 					<string>900.IBPluginDependency</string>
 					<string>901.IBPluginDependency</string>
+					<string>916.IBPluginDependency</string>
 					<string>92.IBPluginDependency</string>
 					<string>92.ImportedFromIB2</string>
 				</object>
@@ -6661,10 +6691,10 @@
 					<integer value="1"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
-					<string>{{86, 250}, {773, 452}}</string>
+					<string>{{800, 143}, {773, 452}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<boolean value="NO"/>
-					<string>{{86, 250}, {773, 452}}</string>
+					<string>{{800, 143}, {773, 452}}</string>
 					<integer value="1"/>
 					<string>{{33, 99}, {480, 360}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -6840,7 +6870,6 @@
 					<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>{{431, 8}, {602, 557}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -6848,6 +6877,7 @@
 					<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"/>
 				</object>
 			</object>
@@ -6867,7 +6897,7 @@
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">912</int>
+			<int key="maxID">918</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -6890,6 +6920,30 @@
 							<string>NSProgressIndicator</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>currentTask</string>
+							<string>operations</string>
+							<string>progress</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">currentTask</string>
+								<string key="candidateClassName">NSTextField</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">operations</string>
+								<string key="candidateClassName">NSTableView</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">progress</string>
+								<string key="candidateClassName">NSProgressIndicator</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBProjectSource</string>
 						<string key="minorKey">ActivityController.h</string>
@@ -6941,6 +6995,60 @@
 							<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>cancel:</string>
+							<string>install:</string>
+							<string>installWithVariants:</string>
+							<string>openPreferences:</string>
+							<string>selfupdate:</string>
+							<string>startQueue:</string>
+							<string>sync:</string>
+							<string>uninstall:</string>
+							<string>upgrade:</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBActionInfo">
+								<string key="name">cancel:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">install:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">installWithVariants:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">openPreferences:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">selfupdate:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">startQueue:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">sync:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">uninstall:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">upgrade:</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">
@@ -6949,7 +7057,7 @@
 							<string>cancel</string>
 							<string>ports</string>
 							<string>queue</string>
-							<string>queueController</string>
+							<string>queueArray</string>
 							<string>startQueueButton</string>
 							<string>tableController</string>
 						</object>
@@ -6959,11 +7067,55 @@
 							<string>NSToolbarItem</string>
 							<string>NSArrayController</string>
 							<string>NSArrayController</string>
-							<string>PortsTableController</string>
+							<string>NSMutableArray</string>
 							<string>NSButton</string>
 							<string>PortsTableController</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>activityController</string>
+							<string>cancel</string>
+							<string>ports</string>
+							<string>queue</string>
+							<string>queueArray</string>
+							<string>startQueueButton</string>
+							<string>tableController</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">activityController</string>
+								<string key="candidateClassName">ActivityController</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">cancel</string>
+								<string key="candidateClassName">NSToolbarItem</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">ports</string>
+								<string key="candidateClassName">NSArrayController</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">queue</string>
+								<string key="candidateClassName">NSArrayController</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">queueArray</string>
+								<string key="candidateClassName">NSMutableArray</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">startQueueButton</string>
+								<string key="candidateClassName">NSButton</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">tableController</string>
+								<string key="candidateClassName">PortsTableController</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBProjectSource</string>
 						<string key="minorKey">MPActionsController.h</string>
@@ -6976,6 +7128,13 @@
 						<string key="NS.key.0">quickLookPanel</string>
 						<string key="NS.object.0">NSPanel</string>
 					</object>
+					<object class="NSMutableDictionary" key="toOneOutletInfosByName">
+						<string key="NS.key.0">quickLookPanel</string>
+						<object class="IBToOneOutletInfo" key="NS.object.0">
+							<string key="name">quickLookPanel</string>
+							<string key="candidateClassName">NSPanel</string>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBProjectSource</string>
 						<string key="minorKey">MPPortTableView.h</string>
@@ -7005,6 +7164,45 @@
 							<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>advancedSearch:</string>
+							<string>basicSearch:</string>
+							<string>close:</string>
+							<string>hidePredicateEditor:</string>
+							<string>open:</string>
+							<string>toggle:</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBActionInfo">
+								<string key="name">advancedSearch:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">basicSearch:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">close:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">hidePredicateEditor:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">open:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">toggle:</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">
@@ -7024,6 +7222,40 @@
 							<string>NSPredicateEditor</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>drawer</string>
+							<string>drawerTable</string>
+							<string>mainWindow</string>
+							<string>portsTableView</string>
+							<string>predicateEditor</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">drawer</string>
+								<string key="candidateClassName">NSDrawer</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">drawerTable</string>
+								<string key="candidateClassName">NSTableView</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">mainWindow</string>
+								<string key="candidateClassName">NSWindow</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">portsTableView</string>
+								<string key="candidateClassName">NSTableView</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">predicateEditor</string>
+								<string key="candidateClassName">NSPredicateEditor</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBProjectSource</string>
 						<string key="minorKey">PortsTableController.h</string>
@@ -7036,6 +7268,13 @@
 						<string key="NS.key.0">selectPKGPath:</string>
 						<string key="NS.object.0">id</string>
 					</object>
+					<object class="NSMutableDictionary" key="actionInfosByName">
+						<string key="NS.key.0">selectPKGPath:</string>
+						<object class="IBActionInfo" key="NS.object.0">
+							<string key="name">selectPKGPath:</string>
+							<string key="candidateClassName">id</string>
+						</object>
+					</object>
 					<object class="NSMutableDictionary" key="outlets">
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						<object class="NSArray" key="dict.sortedKeys">
@@ -7049,6 +7288,25 @@
 							<string>NSWindow</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>pkgPathField</string>
+							<string>preferencesWindow</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBToOneOutletInfo">
+								<string key="name">pkgPathField</string>
+								<string key="candidateClassName">NSTextField</string>
+							</object>
+							<object class="IBToOneOutletInfo">
+								<string key="name">preferencesWindow</string>
+								<string key="candidateClassName">NSWindow</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBProjectSource</string>
 						<string key="minorKey">PreferencesController.h</string>
@@ -7110,6 +7368,49 @@
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<string key="superclassName">NSObject</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="112972833">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSArray.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="735202257">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="839228684">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSPathUtilities.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="1245">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSPredicate.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSArray</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="193317659">
+						<string key="majorKey">IBFrameworkSource</string>
+						<string key="minorKey">Foundation.framework/Headers/NSSortDescriptor.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">NSArrayController</string>
 					<string key="superclassName">NSObjectController</string>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -7189,6 +7490,45 @@
 							<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>printDocument:</string>
+							<string>revertDocumentToSaved:</string>
+							<string>runPageLayout:</string>
+							<string>saveDocument:</string>
+							<string>saveDocumentAs:</string>
+							<string>saveDocumentTo:</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBActionInfo">
+								<string key="name">printDocument:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">revertDocumentToSaved:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">runPageLayout:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">saveDocument:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">saveDocumentAs:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">saveDocumentTo:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBFrameworkSource</string>
 						<string key="minorKey">AppKit.framework/Headers/NSDocument.h</string>
@@ -7221,6 +7561,35 @@
 							<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>clearRecentDocuments:</string>
+							<string>newDocument:</string>
+							<string>openDocument:</string>
+							<string>saveAllDocuments:</string>
+						</object>
+						<object class="NSMutableArray" key="dict.values">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<object class="IBActionInfo">
+								<string key="name">clearRecentDocuments:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">newDocument:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">openDocument:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+							<object class="IBActionInfo">
+								<string key="name">saveAllDocuments:</string>
+								<string key="candidateClassName">id</string>
+							</object>
+						</object>
+					</object>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBFrameworkSource</string>
 						<string key="minorKey">AppKit.framework/Headers/NSDocumentController.h</string>
@@ -7307,6 +7676,19 @@
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">NSMutableArray</string>
+					<string key="superclassName">NSArray</string>
+					<reference key="sourceIdentifier" ref="112972833"/>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSMutableArray</string>
+					<reference key="sourceIdentifier" ref="1245"/>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSMutableArray</string>
+					<reference key="sourceIdentifier" ref="193317659"/>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">NSObject</string>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBFrameworkSource</string>
@@ -7588,17 +7970,11 @@
 				</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>
+					<reference key="sourceIdentifier" ref="735202257"/>
 				</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>
+					<reference key="sourceIdentifier" ref="839228684"/>
 				</object>
 				<object class="IBPartialClassDescription">
 					<string key="className">NSObject</string>

Added: branches/gsoc10-gui/Pallet/GrowlNotifications.h
===================================================================
--- branches/gsoc10-gui/Pallet/GrowlNotifications.h	                        (rev 0)
+++ branches/gsoc10-gui/Pallet/GrowlNotifications.h	2010-06-19 16:00:56 UTC (rev 68983)
@@ -0,0 +1,26 @@
+/*
+ *  GrowlNotifications.h
+ *  Pallet
+ *
+ *  Created by Vasileios Georgitzikis on 19/6/10.
+ *  Copyright 2010 Tzikis. All rights reserved.
+ *
+ */
+
+/* Defining growl types*/
+
+/**/
+#define GROWL_TYPES 12
+#define GROWL_INSTALL 0
+#define GROWL_UNINSTALL 1
+#define GROWL_UPGRADE 2
+#define GROWL_SYNC 3
+#define GROWL_SELFUPDATE 4
+#define GROWL_INSTALLFAILED 5
+#define GROWL_UNINSTALLFAILED 6
+#define GROWL_UPGRADEFAILED 7
+#define GROWL_SYNCFAILED 8
+#define GROWL_SELFUPDATEFAILED 9
+
+#define GROWL_ALLOPS 10
+#define GROWL_ALLOPSFAILED 11

Modified: branches/gsoc10-gui/Pallet/MPActionLauncher.h
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionLauncher.h	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/MPActionLauncher.h	2010-06-19 16:00:56 UTC (rev 68983)
@@ -17,22 +17,8 @@
 #import <MacPorts/MacPorts.h>
 #import <Growl/Growl.h>
 
-/* Defining growl types*/
+#import "GrowlNotifications.h"
 
-/**/
-#define GROWL_TYPES 10
-#define GROWL_INSTALL 0
-#define GROWL_UNINSTALL 1
-#define GROWL_UPGRADE 2
-#define GROWL_SYNC 3
-#define GROWL_SELFUPDATE 4
-#define GROWL_INSTALLFAILED 5
-#define GROWL_UNINSTALLFAILED 6
-#define GROWL_UPGRADEFAILED 7
-#define GROWL_SYNCFAILED 8
-#define GROWL_SELFUPDATEFAILED 9
-
-
 /*!
  @class MPActionLauncher
  @abstract Wrapper for MacPorts Framework actions

Modified: branches/gsoc10-gui/Pallet/MPActionLauncher.m
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionLauncher.m	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/MPActionLauncher.m	2010-06-19 16:00:56 UTC (rev 68983)
@@ -57,7 +57,11 @@
 	if(errorReceived)
 		[self sendGrowlNotification: GROWL_INSTALLFAILED];
 	else
+	{
 		[self sendGrowlNotification: GROWL_INSTALL];
+		[[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+	}
+	
 }
 
 - (void)uninstallPort:(MPPort *)port {
@@ -67,7 +71,10 @@
 	if(errorReceived)
 		[self sendGrowlNotification: GROWL_UNINSTALLFAILED];
 	else
+	{
 		[self sendGrowlNotification: GROWL_UNINSTALL];
+		[[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+	}
 }
 
 - (void)upgradePort:(MPPort *)port {
@@ -77,7 +84,10 @@
 	if(errorReceived)
 		[self sendGrowlNotification: GROWL_UPGRADEFAILED];
 	else
+	{
 		[self sendGrowlNotification: GROWL_UPGRADE];
+		[[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+	}
 }
 
 - (void)sync {
@@ -87,7 +97,10 @@
 	if(errorReceived)
 		[self sendGrowlNotification: GROWL_SYNCFAILED];
 	else
+	{
 		[self sendGrowlNotification: GROWL_SYNC];
+		[[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+	}
 }
 
 - (void)selfupdate {
@@ -100,7 +113,10 @@
 	if(errorReceived)
 		[self sendGrowlNotification: GROWL_SELFUPDATEFAILED];
 	else
+	{
 		[self sendGrowlNotification: GROWL_SELFUPDATE];
+		[[NSNotificationCenter defaultCenter] postNotificationName:@"advanceQ" object:nil userInfo:nil];
+	}
 }
 
 - (void)cancelPortProcess {
@@ -121,7 +137,10 @@
 	growlTitles[GROWL_UPGRADEFAILED] = [NSString stringWithString: @"Upgrade Failed"];
 	growlTitles[GROWL_SYNCFAILED] = [NSString stringWithString: @"Sync Failed"];
 	growlTitles[GROWL_SELFUPDATEFAILED] = [NSString stringWithString: @"Selfupdate Failed"];
-	
+
+	growlTitles[GROWL_ALLOPS] = [NSString stringWithString: @"Operations Completed"];
+	growlTitles[GROWL_ALLOPSFAILED] = [NSString stringWithString: @"Operations Failed"];
+
 	NSString *growlDescriptions[GROWL_TYPES];
 	
 	growlDescriptions[GROWL_INSTALL] = [NSString stringWithString: @"Operation completed successfully"];
@@ -134,7 +153,10 @@
 	growlDescriptions[GROWL_UPGRADEFAILED] = [NSString stringWithString: @"Operation Failed"];
 	growlDescriptions[GROWL_SYNCFAILED] = [NSString stringWithString: @"Operation Failed"];
 	growlDescriptions[GROWL_SELFUPDATEFAILED] = [NSString stringWithString: @"Operation Failed"];
-	
+
+	growlDescriptions[GROWL_ALLOPS] = [NSString stringWithString: @"All Operations Completed Succesfully"];
+	growlDescriptions[GROWL_ALLOPSFAILED] = [NSString stringWithString: @"Operations Failed"];
+
 	NSString *growlNotificationNames[GROWL_TYPES];
 	
 	growlNotificationNames[GROWL_INSTALL] = [NSString stringWithString: @"InstallCompleted"];
@@ -148,6 +170,9 @@
 	growlNotificationNames[GROWL_SYNCFAILED] = [NSString stringWithString: @"SyncFailed"];
 	growlNotificationNames[GROWL_SELFUPDATEFAILED] = [NSString stringWithString: @"SelfupdateFailed"];
 	
+	growlNotificationNames[GROWL_ALLOPS] = [NSString stringWithString: @"OperationsCompleted"];
+	growlNotificationNames[GROWL_ALLOPSFAILED] = [NSString stringWithString: @"OperationsFailed"];
+
 	[GrowlApplicationBridge setGrowlDelegate:(id) @""];
 	[GrowlApplicationBridge notifyWithTitle: growlTitles[type] description: growlDescriptions[type]\
 						   notificationName:growlNotificationNames[type] iconData:nil priority: 0\

Modified: branches/gsoc10-gui/Pallet/MPActionsController.h
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionsController.h	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/MPActionsController.h	2010-06-19 16:00:56 UTC (rev 68983)
@@ -11,6 +11,7 @@
 #import "PortsTableController.h"
 #import "ActivityController.h"
 
+#import "GrowlNotifications.h"
 
 @interface MPActionsController : NSObject {
     IBOutlet NSArrayController *ports;
@@ -19,8 +20,9 @@
     
     IBOutlet NSToolbarItem *cancel;
 	IBOutlet NSButton *startQueueButton;
+	IBOutlet NSMutableArray *queueArray;
     IBOutlet NSArrayController *queue;
-    IBOutlet PortsTableController *queueController;
+	NSUInteger queueCounter;
 }
 
 - (IBAction)openPreferences:(id)sender;
@@ -32,8 +34,8 @@
 - (IBAction)selfupdate:(id)sender;
 - (IBAction)cancel:(id)sender;
 
-- (void) queueOperation: (NSString*) operation andPort: (NSString*) port;
+- (void) queueOperation: (NSString*) operation portName: (NSString*) name portObject: (id) port;
 
 -(IBAction) startQueue:(id) sender;
-
+-(void) advanceQueue;
 @end

Modified: branches/gsoc10-gui/Pallet/MPActionsController.m
===================================================================
--- branches/gsoc10-gui/Pallet/MPActionsController.m	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/MPActionsController.m	2010-06-19 16:00:56 UTC (rev 68983)
@@ -20,10 +20,11 @@
 }
 
 - (IBAction)install:(id)sender {
+	[tableController open:nil];
 	NSLog(@"Staring Installation");
     NSArray *selectedPorts = [ports selectedObjects];
     for (id port in selectedPorts) {
-		[self queueOperation:@"install" andPort:[port name]];
+		[self queueOperation:@"install" portName:[port name] portObject:port];
 		NSLog(@"%@",[port name]);
         //[[MPActionLauncher sharedInstance]
         //    performSelectorInBackground:@selector(installPort:) withObject:port];
@@ -32,9 +33,10 @@
 }
 
 - (IBAction)uninstall:(id)sender {
+	[tableController open:nil];
     NSArray *selectedPorts = [ports selectedObjects];
     for (id port in selectedPorts) {
- 		[self queueOperation:@"uninstall" andPort:[port name]];
+ 		[self queueOperation:@"uninstall" portName:[port name] portObject:port];
 		NSLog(@"%@",[port name]);
 		/*
        [[MPActionLauncher sharedInstance]
@@ -44,9 +46,10 @@
 }
 
 - (IBAction)upgrade:(id)sender {
-    NSArray *selectedPorts = [ports selectedObjects];
+ 	[tableController open:nil];
+   NSArray *selectedPorts = [ports selectedObjects];
     for (id port in selectedPorts) {
-		[self queueOperation:@"upgrade" andPort:[port name]];
+		[self queueOperation:@"upgrade" portName:[port name] portObject:port];
 		NSLog(@"%@",[port name]);
 		/*
         [[MPActionLauncher sharedInstance]
@@ -56,7 +59,8 @@
 }
 
 - (IBAction)sync:(id)sender {
-	[self queueOperation:@"sync" andPort:@"sync"];
+	[tableController open:nil];
+	[self queueOperation:@"sync" portName:@"sync" portObject:nil];
 	/*
     [[MPActionLauncher sharedInstance]
         performSelectorInBackground:@selector(sync) withObject:nil];
@@ -64,7 +68,8 @@
 }
 
 - (IBAction)selfupdate:(id)sender {
-	[self queueOperation:@"selfupdate" andPort:@"selfupdate"];
+	[tableController open:nil];
+	[self queueOperation:@"selfupdate" portName:@"selfupdate" portObject:nil];
 	/*
     [[MPActionLauncher sharedInstance]
         performSelectorInBackground:@selector(selfupdate) withObject:nil];
@@ -116,12 +121,20 @@
 	//[queue selectNext:nil];
 	NSLog(@"Starting Queue");
 	NSUInteger index;
-	index = [queue selectionIndex];
-	NSLog(@"Index before: %u", index);
+	index = [queueArray count]-1;
+	NSLog(@"Array Size is: %u", index);
 	NSUInteger i;
 	[queue setSelectionIndex: 0];
-	for(i=0; i<=index; i++)
+	queueCounter=0;
+	
+	[[NSNotificationCenter defaultCenter] addObserver:self
+											 selector:@selector(advanceQueue)
+												 name:@"advanceQ" object:nil];
+	[self advanceQueue];
+	
+	for(i=0; i<=index+10; i++)
 	{
+		/*
 		//We select each object from the array
 		[queue setSelectionIndex:i];
 		//We sleep the process for debugging puproses
@@ -132,22 +145,82 @@
 		NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithDictionary:[wtf objectAtIndex:0]];
 		//And we print the operations
 		NSLog(@"Port %@ Operation %@",[dict objectForKey:@"port"], [dict objectForKey:@"operation"]);
+		 */
 		
 	}
-	[queue setSelectionIndex:index];
-	//[queue remove:nil];
+	//[queue setSelectionIndex:index];
+	//[queue selectNext:nil];
+}
 
+-(void) advanceQueue
+{
+	NSUInteger index=queueCounter;
+	if([queueArray count]>index)
+	{
+		NSLog(@"Advancing Queue for %u", index);
+		//index = [queue selectionIndex];
+		NSLog(@"Index before: %u", index);
+
+		//We select each object from the array
+		[queue setSelectionIndex:index];
+		//We sleep the process for debugging puproses
+		//sleep(3);
+		//We then take the dictionary
+		NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithDictionary:[queueArray objectAtIndex:index]];
+		//And we print the operations
+		NSLog(@"Port %@ Operation %@",[dict objectForKey:@"port"], [dict objectForKey:@"operation"]);
+		id port= [dict objectForKey:@"object"];
+		
+		if ([[dict objectForKey:@"operation"] isEqualToString:@"install"])
+		{
+			NSLog(@"We have installation");
+			[[MPActionLauncher sharedInstance]
+			 performSelectorInBackground:@selector(installPort:) withObject:port];		
+		}
+		else if([[dict objectForKey:@"operation"] isEqualToString:@"uninstall"])
+		{
+			NSLog(@"We have uninstallation");
+			[[MPActionLauncher sharedInstance]
+			 performSelectorInBackground:@selector(uninstallPort:) withObject:port];		
+		}
+		else if([[dict objectForKey:@"operation"] isEqualToString:@"upgrade"])
+		{
+			NSLog(@"We have upgrade");
+			[[MPActionLauncher sharedInstance]
+			 performSelectorInBackground:@selector(upgradePort:) withObject:port];
+		}
+		else if([[dict objectForKey:@"operation"] isEqualToString:@"selfupdate"])
+		{
+			NSLog(@"We have selfupdate");
+			[[MPActionLauncher sharedInstance]
+			 performSelectorInBackground:@selector(selfupdate) withObject:nil];		
+		}
+		else if([[dict objectForKey:@"operation"] isEqualToString:@"sync"])
+		{
+			NSLog(@"We have sync");
+			[[MPActionLauncher sharedInstance]
+			 performSelectorInBackground:@selector(sync) withObject:nil];		
+		}
+	}
+	else
+	{
+		[[NSNotificationCenter defaultCenter] removeObserver:self name:@"advanceQ" object:nil];
+		
+		int allops=GROWL_ALLOPS;
+		[[MPActionLauncher sharedInstance]
+		 performSelectorInBackground:@selector(sendGrowlNotification:) withObject:(id) allops];		
+		
+	}
+
+	queueCounter++;
 	
-	//index = [queue selectionIndex];
-	//NSLog(@"Index after: %u", index);
-	//NSLog(@"Starting Queue Operations");
 }
 
--(void) queueOperation:(NSString*)operation andPort:(NSString*)port
+-(void) queueOperation:(NSString*)operation portName:(NSString*)name portObject: (id) port
 {
 	NSLog(@"Queueing our Operation");
 	//NSMutableDictionary *tempDict=[[NSMutableDictionary alloc] initWithObjectsAndKeys:@"wtf", @"operation", @"le_port", @"port", nil];
-	[queue addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:operation, @"operation", port, @"port",nil]];
+	[queue addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:operation, @"operation", name, @"port", port, @"object", nil]];
 	//[queue addObject: tempDict];
 	//[queue retain];
 	

Modified: branches/gsoc10-gui/Pallet/Pallet.xcodeproj/project.pbxproj
===================================================================
--- branches/gsoc10-gui/Pallet/Pallet.xcodeproj/project.pbxproj	2010-06-19 15:32:46 UTC (rev 68982)
+++ branches/gsoc10-gui/Pallet/Pallet.xcodeproj/project.pbxproj	2010-06-19 16:00:56 UTC (rev 68983)
@@ -173,6 +173,7 @@
 		089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
 		13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
+		1D24FC5F11CD1C770063E2A5 /* GrowlNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GrowlNotifications.h; sourceTree = "<group>"; };
 		1D4B877E11A5496B00AD9D33 /* Growl Registration Ticket.growlRegDict */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = "Growl Registration Ticket.growlRegDict"; sourceTree = "<group>"; };
 		1D4B87BA11A54DE000AD9D33 /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = "Growl-1.2.1-Framework/Growl.framework"; sourceTree = "<group>"; };
 		1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
@@ -318,6 +319,7 @@
 		29B97314FDCFA39411CA2CEA /* Pallet */ = {
 			isa = PBXGroup;
 			children = (
+				1D24FC5F11CD1C770063E2A5 /* GrowlNotifications.h */,
 				1D4B87BA11A54DE000AD9D33 /* Growl.framework */,
 				21F165400FE2C04300542AEE /* MacPorts.Framework.xcodeproj */,
 				21F166FC0FE32DF000542AEE /* Models */,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100619/c187b36d/attachment-0001.html>


More information about the macports-changes mailing list