Add a help menu item to display the current print queue master
authorRobert Sesek <rsesek@bluestatic.org>
Wed, 15 Apr 2009 17:09:00 +0000 (13:09 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Wed, 15 Apr 2009 17:10:17 +0000 (13:10 -0400)
* English.lproj/MainMenu.xib
* Source/AppController.m+h:
(helpQueue:): New method

English.lproj/MainMenu.xib
Source/AppController.h
Source/AppController.m

index 758c404e854a3e2175196c3b89457b594a54293e..48f866bfbf98d1fb6e1b2252a5964cdcc639d8c2 100644 (file)
@@ -1,16 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02">
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
        <data>
                <int key="IBDocument.SystemTarget">1040</int>
-               <string key="IBDocument.SystemVersion">9E17</string>
-               <string key="IBDocument.InterfaceBuilderVersion">672</string>
-               <string key="IBDocument.AppKitVersion">949.33</string>
-               <string key="IBDocument.HIToolboxVersion">352.00</string>
+               <string key="IBDocument.SystemVersion">9G55</string>
+               <string key="IBDocument.InterfaceBuilderVersion">677</string>
+               <string key="IBDocument.AppKitVersion">949.43</string>
+               <string key="IBDocument.HIToolboxVersion">353.00</string>
                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="106"/>
                        <integer value="372"/>
                        <integer value="539"/>
+                       <integer value="106"/>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
                        <string>com.apple.InterfaceBuilderKit</string>
                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                </object>
+               <object class="NSMutableDictionary" key="IBDocument.Metadata">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSArray" key="dict.sortedKeys">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                       </object>
+                       <object class="NSMutableArray" key="dict.values">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                       </object>
+               </object>
                <object class="NSMutableArray" key="IBDocument.RootObjects" id="1048">
                        <bool key="EncodedWithXMLCoder">YES</bool>
                        <object class="NSCustomObject" id="1021">
                                                                        <reference key="NSOnImage" ref="76209351"/>
                                                                        <reference key="NSMixedImage" ref="46633718"/>
                                                                </object>
+                                                               <object class="NSMenuItem" id="1044">
+                                                                       <reference key="NSMenu" ref="374024848"/>
+                                                                       <string type="base64-UTF8" key="NSTitle">RGlzcGxheSBwcmludCBxdWV1ZeKApg</string>
+                                                                       <string key="NSKeyEquiv"/>
+                                                                       <int key="NSMnemonicLoc">2147483647</int>
+                                                                       <reference key="NSOnImage" ref="76209351"/>
+                                                                       <reference key="NSMixedImage" ref="46633718"/>
+                                                               </object>
                                                                <object class="NSMenuItem" id="495821368">
                                                                        <reference key="NSMenu" ref="374024848"/>
                                                                        <string type="base64-UTF8" key="NSTitle">Q2hlY2sgeW91ciBwcmludCBxdW90YeKApg</string>
@@ -2115,6 +2132,14 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        </object>
                                        <int key="connectionID">570</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBActionConnection" key="connection">
+                                               <string key="label">helpQueue:</string>
+                                               <reference key="source" ref="591533163"/>
+                                               <reference key="destination" ref="1044"/>
+                                       </object>
+                                       <int key="connectionID">572</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
@@ -2466,6 +2491,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <reference ref="495821368"/>
                                                        <reference ref="34404294"/>
                                                        <reference ref="67755189"/>
+                                                       <reference ref="1044"/>
                                                </object>
                                                <reference key="parent" ref="391199113"/>
                                                <string key="objectName">2</string>
@@ -3131,6 +3157,11 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                <reference key="object" ref="67755189"/>
                                                <reference key="parent" ref="374024848"/>
                                        </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">571</int>
+                                               <reference key="object" ref="1044"/>
+                                               <reference key="parent" ref="374024848"/>
+                                       </object>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" key="flattenedProperties">
@@ -3276,7 +3307,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>354.IBPluginDependency</string>
                                        <string>354.ImportedFromIB2</string>
                                        <string>371.IBEditorWindowLastContentRect</string>
-                                       <string>371.IBPluginDependency</string>
                                        <string>371.IBViewEditorWindowController.showingBoundsRectangles</string>
                                        <string>371.IBViewEditorWindowController.showingLayoutRectangles</string>
                                        <string>371.IBWindowTemplateEditedContentRect</string>
@@ -3327,7 +3357,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>535.IBPluginDependency</string>
                                        <string>536.IBPluginDependency</string>
                                        <string>538.IBEditorWindowLastContentRect</string>
-                                       <string>538.IBPluginDependency</string>
                                        <string>538.IBWindowTemplateEditedContentRect</string>
                                        <string>538.NSWindowTemplate.visibleAtLaunch</string>
                                        <string>538.windowTemplate.maxSize</string>
@@ -3351,6 +3380,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>57.IBPluginDependency</string>
                                        <string>57.ImportedFromIB2</string>
                                        <string>57.editorWindowContentRectSynchronizationRect</string>
+                                       <string>571.IBPluginDependency</string>
                                        <string>58.IBPluginDependency</string>
                                        <string>58.ImportedFromIB2</string>
                                        <string>72.IBPluginDependency</string>
@@ -3386,7 +3416,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilderKit</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
-                                       <string>{{741, 686}, {245, 73}}</string>
+                                       <string>{{771, 666}, {245, 93}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{{408, 813}, {201, 23}}</string>
@@ -3491,7 +3521,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{{337, 763}, {197, 73}}</string>
-                                       <string>{{339, 759}, {463, 20}}</string>
+                                       <string>{{369, 759}, {463, 20}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{74, 862}</string>
@@ -3520,7 +3550,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{{399, 299}, {477, 476}}</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="8"/>
                                        <reference ref="8"/>
                                        <string>{{399, 299}, {477, 476}}</string>
@@ -3571,7 +3600,6 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>{{395, 148}, {634, 275}}</string>
-                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <string>{{395, 148}, {634, 275}}</string>
                                        <reference ref="8"/>
                                        <string>{3.40282e+38, 3.40282e+38}</string>
@@ -3596,6 +3624,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                        <reference ref="9"/>
                                        <string>{{18, 653}, {230, 183}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+                                       <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
@@ -3644,7 +3673,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">570</int>
+                       <int key="maxID">572</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -3658,6 +3687,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                        <string>helpACS:</string>
                                                        <string>helpCheckPQuota:</string>
+                                                       <string>helpQueue:</string>
                                                        <string>print:</string>
                                                </object>
                                                <object class="NSMutableArray" key="dict.values">
@@ -3665,6 +3695,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
                                                        <string>id</string>
                                                        <string>id</string>
                                                        <string>id</string>
+                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" key="outlets">
index 50d6cb4017e05ae9547be7734727f06526d6fa75..8a3ad41091786b5ddb759513e7859aad73dbf2ba 100644 (file)
@@ -44,5 +44,6 @@
 
 - (IBAction)helpCheckPQuota:(id)sender;
 - (IBAction)helpACS:(id)sender;
+- (IBAction)helpQueue:(id)sender;
 
 @end
index 8ff2256a50d56f3c2405cb9cbc2dfcaa1942a76a..0bde4bf5e4b032a10fcc2ec25d29f08893437240 100644 (file)
@@ -345,4 +345,13 @@ shutdown:
        [[NSWorkspace sharedWorkspace] openURL:url];
 }
 
+/**
+ * Opens the link that displays the queue
+ */
+- (IBAction)helpQueue:(id)sender
+{
+       NSURL *url = [NSURL URLWithString:@"http://people.bu.edu/csg-oper/Resnet/"];
+       [[NSWorkspace sharedWorkspace] openURL:url];
+}
+
 @end