adium 3891:0ca7ab686bcf: Enable the %service% keyword in the hea...
commits at adium.im
commits at adium.im
Tue May 3 17:42:20 UTC 2011
details: http://hg.adium.im/adium/rev/0ca7ab686bcf
revision: 3891:0ca7ab686bcf
branch: (none)
author: mathuaerknedam
date: Tue May 03 12:42:07 2011 -0500
Enable the %service% keyword in the header.
diffs (24 lines):
diff -r 49dd2ff35786 -r 0ca7ab686bcf ChangeLogs/Changes.txt
--- a/ChangeLogs/Changes.txt Tue May 03 17:48:18 2011 +0200
+++ b/ChangeLogs/Changes.txt Tue May 03 12:42:07 2011 -0500
@@ -94,6 +94,7 @@
Message View
* Only display focus indication for group chats. (#14420)
+ * Enable %service% keyword in header.
* Fixed issue where sections of conversations loaded from message history are repeated. (#13362)
* Mockie: new mention and focus indicators. (#14420)
* Fixed Renkoo to not scroll to bottom on new content regardless of scroll position. (#14331)
diff -r 49dd2ff35786 -r 0ca7ab686bcf Plugins/WebKit Message View/AIWebkitMessageViewStyle.m
--- a/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Tue May 03 17:48:18 2011 +0200
+++ b/Plugins/WebKit Message View/AIWebkitMessageViewStyle.m Tue May 03 12:42:07 2011 -0500
@@ -1241,6 +1241,9 @@
NSString *serviceIconTag = [NSString stringWithFormat:@"<img class=\"serviceIcon\" src=\"%@\" alt=\"%@\" title=\"%@\">", serviceIconPath ? serviceIconPath : @"outgoing_icon.png", [account.service shortDescription], [account.service shortDescription]];
+ [inString replaceKeyword:@"%service%"
+ withString:[account.service shortDescription]];
+
[inString replaceKeyword:@"%serviceIconImg%"
withString:serviceIconTag];
More information about the commits
mailing list