GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: An iPhoto plugin to export photos to Gallery.
Homepage: http://zwily.com/iphoto
Clone URL: git://github.com/zwily/iphototogallery.git
update to work with iPhoto 7.0.2, bump to v0.67
zwily (author)
Thu Sep 06 07:40:41 -0700 2007
zwily (committer)
Sat May 03 09:01:47 -0700 2008
commit  23f551b0f6d8a5e0c271124e98bee21eddd94a6f
tree    523e28fd8798a031b4b3994a878f1d34e27966c5
parent  f99768b926b59604e19d12c77dd7cfa53a473d4d
...
17
18
19
20
 
21
22
23
...
17
18
19
 
20
21
22
23
0
@@ -17,7 +17,7 @@
0
   <key>CFBundleSignature</key>
0
   <string>zwily</string>
0
   <key>CFBundleVersion</key>
0
- <string>0.66</string>
0
+ <string>0.67</string>
0
   <key>NSMainNibFile</key>
0
   <string>Panel.nib</string>
0
   <key>NSPrincipalClass</key>
...
400
401
402
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
404
405
...
468
469
470
471
 
472
473
474
475
476
477
 
478
479
480
...
484
485
486
487
 
488
489
490
...
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
...
516
517
518
 
519
520
521
522
523
524
 
525
526
527
528
...
532
533
534
 
535
536
537
538
0
@@ -400,6 +400,54 @@
0
         <key>Split Forks</key>
0
         <true/>
0
       </dict>
0
+ <key>Plugins</key>
0
+ <dict>
0
+ <key>PluginsList</key>
0
+ <array>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>Introduction</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>ReadMe</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>License</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>Target</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>PackageSelection</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>Install</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ <dict>
0
+ <key>Path</key>
0
+ <string>FinishUp</string>
0
+ <key>Type</key>
0
+ <integer>0</integer>
0
+ </dict>
0
+ </array>
0
+ </dict>
0
       <key>Scripts</key>
0
       <dict>
0
         <key>Additional Resources</key>
0
@@ -468,13 +516,13 @@
0
             <key>IFPkgDescriptionTitle</key>
0
             <string>iPhotoToGallery</string>
0
             <key>IFPkgDescriptionVersion</key>
0
- <string>0.66</string>
0
+ <string>0.67</string>
0
           </dict>
0
         </dict>
0
         <key>Display Information</key>
0
         <dict>
0
           <key>CFBundleGetInfoString</key>
0
- <string>iPhotoToGallery 0.66</string>
0
+ <string>iPhotoToGallery 0.67</string>
0
           <key>CFBundleIconFile</key>
0
           <string></string>
0
           <key>CFBundleIconFile Path Type</key>
0
@@ -484,7 +532,7 @@
0
           <key>CFBundleName</key>
0
           <string>iPhotoToGallery</string>
0
           <key>CFBundleShortVersionString</key>
0
- <string>0.63</string>
0
+ <string>0.67</string>
0
         </dict>
0
         <key>Options</key>
0
         <dict>
...
10
11
12
13
14
15
16
17
 
18
 
 
19
20
21
 
22
23
...
10
11
12
 
13
14
 
 
15
16
17
18
19
20
 
21
22
23
0
@@ -10,14 +10,14 @@
0
   <array/>
0
   <key>IBOpenObjects</key>
0
   <array>
0
- <integer>165</integer>
0
     <integer>182</integer>
0
     <integer>546</integer>
0
- <integer>6</integer>
0
- <integer>527</integer>
0
+ <integer>165</integer>
0
     <integer>204</integer>
0
+ <integer>527</integer>
0
+ <integer>6</integer>
0
   </array>
0
   <key>IBSystem Version</key>
0
- <string>8I127</string>
0
+ <string>8R218</string>
0
 </dict>
0
 </plist>
...
67
68
69
 
70
71
72
...
67
68
69
70
71
72
73
0
@@ -67,6 +67,7 @@
0
 - thumbnailPathAtIndex:(unsigned int)fp12;
0
 - imagePathAtIndex:(unsigned int)fp12;
0
 - imageCaptionAtIndex:(unsigned int)fp12;
0
+- imageTitleAtIndex:(unsigned int)fp12; // added in iPhoto 7
0
 - imageCommentsAtIndex:(unsigned int)fp12; // added in iPhoto 5
0
 - (unsigned int)imageFormatAtIndex:(unsigned int)fp12;
0
 - (struct _NSSize)imageSizeAtIndex:(unsigned int)fp12;
...
209
210
211
 
 
 
 
212
213
214
...
307
308
309
310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
312
313
314
315
316
...
859
860
861
862
 
 
 
 
 
863
864
865
...
209
210
211
212
213
214
215
216
217
218
...
311
312
313
 
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
 
 
329
330
331
...
874
875
876
 
877
878
879
880
881
882
883
884
0
@@ -209,6 +209,10 @@ static int loggingIn;
0
     return NO;
0
 }
0
 
0
+- (char)handlesMovieFiles {
0
+ return NO;
0
+}
0
+
0
 - (NSString *)defaultDirectory {
0
     return [NSHomeDirectory() stringByAppendingPathComponent:@"Pictures"];
0
 }
0
@@ -307,10 +311,21 @@ static int loggingIn;
0
     
0
     // Get defaults for the Title and Description fields (thx Nathaniel Gray)
0
     NSString *currAlbum, *currComments = nil;
0
- currAlbum = [exportManager albumName];
0
+ if ([exportManager respondsToSelector:@selector(albumName)]) {
0
+ currAlbum = [exportManager albumName];
0
+ if ([exportManager respondsToSelector:@selector(albumComments)])
0
+ currComments = [exportManager albumComments];
0
+ }
0
+ else if ([exportManager respondsToSelector:@selector(albumNameAtIndex:)]) {
0
+ // iPhoto 7
0
+ if ([exportManager albumCount] > 0) {
0
+ currAlbum = [exportManager albumNameAtIndex:0];
0
+ currComments = [exportManager albumCommentsAtIndex:0];
0
+ }
0
+ }
0
+
0
+ // Make these empty strings if they're nil
0
     currAlbum = currAlbum ? currAlbum : @"";
0
- if ([exportManager respondsToSelector:@selector(albumComments)])
0
- currComments = [exportManager albumComments];
0
     currComments = currComments ? currComments : @"";
0
     
0
     [albumSettingsPanel makeFirstResponder:albumSettingsTitleField];
0
@@ -859,7 +874,11 @@ static int loggingIn;
0
         return [exportManager imageDictionaryAtIndex:index];
0
     
0
     NSMutableDictionary *imageDict = [NSMutableDictionary dictionary];
0
- if ([exportManager respondsToSelector:@selector(imageCaptionAtIndex:)])
0
+
0
+ // iPhoto7 changes this to imageTitleAtIndex (thx Jamie Neufeld)
0
+ if ([exportManager respondsToSelector:@selector(imageTitleAtIndex:)])
0
+ [imageDict setObject:[exportManager imageTitleAtIndex:index] forKey:@"Caption"];
0
+ else if ([exportManager respondsToSelector:@selector(imageCaptionAtIndex:)])
0
         [imageDict setObject:[exportManager imageCaptionAtIndex:index] forKey:@"Caption"];
0
     
0
     if ([exportManager respondsToSelector:@selector(imageCommentsAtIndex:)])

Comments

    No one has commented yet.