adium 2386:b76c84a95828: Include the JID in a contact's "Ping" m...
commits at adium.im
commits at adium.im
Fri May 29 00:52:08 UTC 2009
details: http://hg.adium.im/adium/rev/b76c84a95828
revision: 2386:b76c84a95828
author: Zachary West <zacw at adium.im>
date: Thu May 28 20:52:01 2009 -0400
Include the JID in a contact's "Ping" menu item.
diffs (14 lines):
diff -r 4e958502b83a -r b76c84a95828 Plugins/Purple Service/ESPurpleJabberAccount.m
--- a/Plugins/Purple Service/ESPurpleJabberAccount.m Thu May 28 19:17:56 2009 -0400
+++ b/Plugins/Purple Service/ESPurpleJabberAccount.m Thu May 28 20:52:01 2009 -0400
@@ -512,6 +512,10 @@
} else if (strcmp(label, "Cancel Presence Notification") == 0) {
return [NSString stringWithFormat:AILocalizedString(@"Cancel Presence Notification to %@",nil),inContact.formattedUID];
+
+ } else if (strcmp(label, _("Ping")) == 0) {
+ return [NSString stringWithFormat:AILocalizedString(@"Ping %@",nil),inContact.formattedUID];
+
}
return [super titleForContactMenuLabel:label forContact:inContact];
More information about the commits
mailing list