adium 3373:dcdf6a2503cc: Further improved documentation
commits at adium.im
commits at adium.im
Mon Oct 18 03:55:38 UTC 2010
details: http://hg.adium.im/adium/rev/dcdf6a2503cc
revision: 3373:dcdf6a2503cc
author: Evan Schoenberg
date: Sun Oct 17 22:55:16 2010 -0500
Further improved documentation
(transplanted from da0b923fe3e7b4a443590100d689d301b76adf0c)
diffs (13 lines):
diff -r c3a3446aeb16 -r dcdf6a2503cc Frameworks/Adium Framework/Source/AIAbstractAccount.m
--- a/Frameworks/Adium Framework/Source/AIAbstractAccount.m Sun Oct 17 22:52:13 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIAbstractAccount.m Sun Oct 17 22:55:16 2010 -0500
@@ -213,6 +213,9 @@
* deletes that icon, this indicates that no icon at all should be used for the account.
*/
} else if (!isTemporary && [[adium.preferenceController preferenceForKey:KEY_USE_USER_ICON group:GROUP_ACCOUNT_STATUS] boolValue]) {
+ /* For non-temporary accounts, load the global icon if it is to be used. The user may have set a global icon, then selected
+ * not to send an icon at all, so we must check the boolean preference first.
+ */
userIconData = [adium.preferenceController preferenceForKey:KEY_USER_ICON group:GROUP_ACCOUNT_STATUS];
/* If there isn't an icon set manually at the global level, we still need to check for one under KEY_DEFAULT_USER_ICON.
More information about the commits
mailing list