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
try harder to find G2 (patch from adeh@desandies.com)
zwily (author)
Thu Jul 26 12:56:09 -0700 2007
zwily (committer)
Sat May 03 09:01:47 -0700 2008
commit  f99768b926b59604e19d12c77dd7cfa53a473d4d
tree    f32c953888cb29d9e346d60b7f4a07f0028851f7
parent  d21516d307aa49d1c913ea812c3cf65dac352f31
...
372
373
374
375
376
 
 
 
 
 
 
 
 
 
 
377
378
379
...
372
373
374
 
 
375
376
377
378
379
380
381
382
383
384
385
386
387
0
@@ -372,8 +372,16 @@
0
             NSData *data = [currentConnection data];
0
             response = [currentConnection response];
0
 
0
- if (data == nil)
0
- return ZW_GALLERY_COULD_NOT_CONNECT;
0
+ if (data == nil) {
0
+ if (tryGalleryV2)
0
+ return ZW_GALLERY_COULD_NOT_CONNECT;
0
+
0
+ // There is at least one instance (reported by adeh@desandies.com) where
0
+ // data will be nil, even though a G2 installation does exist. In that case,
0
+ // let's try G2 if we haven't already.
0
+ tryGalleryV2 = YES;
0
+ continue;
0
+ }
0
             
0
             galleryResponse = [self parseResponseData:data];
0
             

Comments

    No one has commented yet.