Commits

Ivan Vučica committed b21ee4c

Dimming source window.

Comments (0)

Files changed (1)

ShareKitTest/IVSharingServiceProvider.m

     NSLog(@"%@", NSStringFromSelector(_cmd));
     SHKSharingService * service = [SHKSharingService sharingServiceWithTitle:@"The Sharing Service 1" image:image alternateImage:image handler:nil];
     SHKSharingService * service2 = [SHKSharingService sharingServiceWithIdentifier:@"post" provider:[self class] title:@"The Sharing Service 2" image:image alternateImage:image];
+    
+    service2.shouldDimSourceWindow = YES;
     return [NSArray arrayWithObjects:service, service2, nil];
 }
 + (id)serviceWithIdentifier:(NSString*)identifier;
         NSImage * image = [[[NSImage alloc] initWithContentsOfFile:[[NSBundle bundleForClass:self.class] pathForImageResource:@"image.png"]] autorelease];
 
         SHKSharingService * service2 = [SHKSharingService sharingServiceWithIdentifier:@"post" provider:[self class] title:@"The Sharing Service 2" image:image alternateImage:image];
+        service2.shouldDimSourceWindow = YES;
         return service2;
     }
     return nil;