Permalink
Browse files

Merge branch 'master' of git@github.com:rentzsch/clicktoflash

  • Loading branch information...
2 parents e56a941 + 423346b commit da72348f5bcc7e9edef837b95e16fdd55ac69bc1 @rentzsch committed Jan 28, 2009
Showing with 13 additions and 1 deletion.
  1. +13 −1 Plugin/Plugin.m
View
@@ -67,8 +67,20 @@ - (id) initWithArguments:(NSDictionary *)arguments
[self performSelector:@selector(_convertTypesForContainer) withObject:nil afterDelay:0];
}
}
+
+ NSDictionary *attributes = [arguments objectForKey:WebPlugInAttributesKey];
+ if (attributes != nil) {
+ NSString *src = [attributes objectForKey:@"src"];
+ if (src)
+ [self setToolTip:src];
+ else {
+ src = [attributes objectForKey:@"data"];
+ if (src)
+ [self setToolTip:src];
+ }
+ }
}
-
+
return self;
}

0 comments on commit da72348

Please sign in to comment.