Fix enabling of Create Gallery button
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 May 2009 15:47:48 +0000 (11:47 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 7 May 2009 15:47:48 +0000 (11:47 -0400)
iPhoto2Ansel/AnselExportController.m
iPhoto2Ansel/English.lproj/Panel.nib/designable.nib
iPhoto2Ansel/English.lproj/Panel.nib/keyedobjects.nib

index 6f1ae28..3dc633c 100644 (file)
@@ -413,6 +413,7 @@ NSString * const TURAnselServerPasswordKey = @"password";
 {
     [galleryCombo deselectItemAtIndex: [galleryCombo indexOfSelectedItem]];
     [mServersPopUp setEnabled: false];
+    [mNewGalleryButton setEnabled: false];
     [self setStatusText: @"Connecting..."];
     [spinner startAnimation: self];
     NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
index d0c4a59..95db742 100644 (file)
@@ -8,8 +8,8 @@
                <string key="IBDocument.HIToolboxVersion">353.00</string>
                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="387"/>
                        <integer value="137"/>
+                       <integer value="387"/>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
                                                                                                                        <reference key="NSSuperview" ref="675618554"/>
                                                                                                                        <bool key="NSEnabled">YES</bool>
                                                                                                                        <object class="NSButtonCell" key="NSCell" id="843634421">
-                                                                                                                               <int key="NSCellFlags">604110336</int>
+                                                                                                                               <int key="NSCellFlags">67239424</int>
                                                                                                                                <int key="NSCellFlags2">134479872</int>
                                                                                                                                <string key="NSContents">Create New</string>
                                                                                                                                <reference key="NSSupport" ref="22"/>
                                        <int key="connectionID">239</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">newGalleryButton</string>
-                                               <reference key="source" ref="685567789"/>
-                                               <reference key="destination" ref="60291071"/>
-                                       </object>
-                                       <int key="connectionID">334</int>
-                               </object>
-                               <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" key="connection">
                                                <string key="label">showNewGallery:</string>
                                                <reference key="source" ref="685567789"/>
                                        <int key="connectionID">359</int>
                                </object>
                                <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">anselHostURL</string>
-                                               <reference key="source" ref="685567789"/>
-                                               <reference key="destination" ref="143194876"/>
-                                       </object>
-                                       <int key="connectionID">415</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">username</string>
-                                               <reference key="source" ref="685567789"/>
-                                               <reference key="destination" ref="943485916"/>
-                                       </object>
-                                       <int key="connectionID">416</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">password</string>
-                                               <reference key="source" ref="685567789"/>
-                                               <reference key="destination" ref="407883474"/>
-                                       </object>
-                                       <int key="connectionID">417</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBOutletConnection" key="connection">
-                                               <string key="label">serverNickName</string>
-                                               <reference key="source" ref="685567789"/>
-                                               <reference key="destination" ref="536650280"/>
-                                       </object>
-                                       <int key="connectionID">418</int>
-                               </object>
-                               <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" key="connection">
                                                <string key="label">doAddServer:</string>
                                                <reference key="source" ref="685567789"/>
                                        </object>
                                        <int key="connectionID">533</int>
                                </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">mNewGalleryButton</string>
+                                               <reference key="source" ref="685567789"/>
+                                               <reference key="destination" ref="60291071"/>
+                                       </object>
+                                       <int key="connectionID">534</int>
+                               </object>
                        </object>
                        <object class="IBMutableOrderedSet" key="objectRecords">
                                <object class="NSArray" key="orderedObjects">
                                        <reference ref="5"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="5"/>
-                                       <string>{{419, 246}, {455, 195}}</string>
+                                       <string>{{677, 386}, {455, 195}}</string>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       <string>{{419, 246}, {455, 195}}</string>
+                                       <string>{{677, 386}, {455, 195}}</string>
                                        <reference ref="5"/>
                                        <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="5"/>
                                </object>
                        </object>
                        <nil key="sourceID"/>
-                       <int key="maxID">533</int>
+                       <int key="maxID">534</int>
                </object>
                <object class="IBClassDescriber" key="IBDocument.Classes">
                        <object class="NSMutableArray" key="referencedPartialClassDescriptions">
index dddf7b5..f471dee 100644 (file)
Binary files a/iPhoto2Ansel/English.lproj/Panel.nib/keyedobjects.nib and b/iPhoto2Ansel/English.lproj/Panel.nib/keyedobjects.nib differ