Get rid of some Actions and Outlets that aren't needed for the Aperture
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 1 Sep 2009 05:05:21 +0000 (01:05 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 1 Sep 2009 05:05:21 +0000 (01:05 -0400)
version of this exporter.

ApertureToAnselExportPlugin/ApertureToAnselExportPlugin.h
ApertureToAnselExportPlugin/ApertureToAnselExportPlugin.m
ApertureToAnselExportPlugin/English.lproj/ApertureToAnselExportPlugin.nib/classes.nib
ApertureToAnselExportPlugin/English.lproj/ApertureToAnselExportPlugin.nib/keyedobjects.nib

index 2cccc70..91b9127 100644 (file)
@@ -42,8 +42,6 @@
     IBOutlet NSImageView *defaultImageView;
     IBOutlet NSButton *mNewGalleryButton;
     IBOutlet NSPopUpButton *mServersPopUp;
-    IBOutlet NSButton *mCancelConnect;
-    IBOutlet NSTextField *mImageCountLabel;
     
     // New Server sheet
     IBOutlet NSWindow *newServerSheet;
     TURAnsel *_anselController;
     NSMutableArray *_browserData;
     
-    // Remembers the selected server before it changes. Used to reselect the
-    // proper server if necessary when server panels are closed.
-    int mIndexOfPreviouslySelectedServer;
+    BOOL isExporting;
 }
 
 - (IBAction) showNewGallery: (id)sender;
 - (IBAction) doAddServer: (id)sender;
 - (IBAction) doCancelAddServer: (id)sender;
 - (IBAction) clickServer: (id)sender;
-- (IBAction) clickCancelConnect: (id)sender;
-
 - (IBAction) clickViewGallery: (id)sender;
 - (IBAction) closeGalleryView: (id)sender;
 
index 72c6ee8..1555f8b 100644 (file)
@@ -320,6 +320,7 @@ NSString * const TURAnselServerPasswordKey = @"password";
     [[NSNotificationCenter defaultCenter] removeObserver: self 
                                                     name: @"NSPopUpButtonWillPopUpNotification"
                                                   object: nil];
+    [_anselController cancel];
     [_exportManager shouldCancelExport];
 }
 
index 7e69241..b342825 100644 (file)
                                <string>NSComboBox</string>
                                <key>lastView</key>
                                <string>NSView</string>
-                               <key>mCancelConnect</key>
-                               <string>NSButton</string>
-                               <key>mImageCountLabel</key>
-                               <string>NSTextField</string>
                                <key>mMakeNewServerDefault</key>
                                <string>NSButton</string>
                                <key>mNewGalleryButton</key>
index 16c7596..7961319 100644 (file)
Binary files a/ApertureToAnselExportPlugin/English.lproj/ApertureToAnselExportPlugin.nib/keyedobjects.nib and b/ApertureToAnselExportPlugin/English.lproj/ApertureToAnselExportPlugin.nib/keyedobjects.nib differ