Patch from mathuaerknedam to fix `%serviceIconImg%` and add a tooltip to it. Fixes #12664. Thanks!
authorEvan Schoenberg
Mon Jul 27 18:29:20 2009 -0500 (2009-07-27)
changeset 2564879cd64c4004
parent 2563 652e28772160
child 2565 bf1f209eea72
Patch from mathuaerknedam to fix `%serviceIconImg%` and add a tooltip to it. Fixes #12664. Thanks!
Plugins/WebKit Message View/AIWebkitMessageViewStyle.m
     1.1 --- a/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m	Mon Jul 27 18:27:09 2009 -0500
     1.2 +++ b/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m	Mon Jul 27 18:29:20 2009 -0500
     1.3 @@ -1161,7 +1161,7 @@
     1.4  	NSString *serviceIconPath = [AIServiceIcons pathForServiceIconForServiceID:account.service.serviceID
     1.5  																		  type:AIServiceIconLarge];
     1.6  	
     1.7 -	NSString *serviceIconTag = [NSString stringWithFormat:@"<img class=\"serviceIcon\" src=\"@\" alt=\"%@\">", serviceIconPath ? serviceIconPath : @"outgoing_icon.png", [account.service shortDescription]];
     1.8 +	NSString *serviceIconTag = [NSString stringWithFormat:@"<img class=\"serviceIcon\" src=\"%@\" alt=\"%@\" title=\"%@\">", serviceIconPath ? serviceIconPath : @"outgoing_icon.png", [account.service shortDescription], [account.service shortDescription]];
     1.9  	
    1.10  	[inString replaceKeyword:@"%serviceIconImg%"
    1.11  				  withString:serviceIconTag];