Mercurial > pidgin
comparison libpurple/protocols/msn/msn.c @ 21026:27c72bd82a81
We really don't need to display Blocked: status in the tooltip for every
buddy in a contact on MSN.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 27 Oct 2007 13:27:45 +0000 |
parents | 89c7be36fd61 |
children | 3cc856ca2338 |
comparison
equal
deleted
inserted
replaced
21024:61a87e02da29 | 21026:27c72bd82a81 |
---|---|
615 | 615 |
616 /* XXX: This is being shown in non-full tooltips because the | 616 /* XXX: This is being shown in non-full tooltips because the |
617 * XXX: blocked icon overlay isn't always accurate for MSN. | 617 * XXX: blocked icon overlay isn't always accurate for MSN. |
618 * XXX: This can die as soon as purple_privacy_check() knows that | 618 * XXX: This can die as soon as purple_privacy_check() knows that |
619 * XXX: this prpl always honors both the allow and deny lists. */ | 619 * XXX: this prpl always honors both the allow and deny lists. */ |
620 if (user) | 620 /* While the above comment may be strictly correct (the privacy API needs |
621 * rewriteing), purple_privacy_check() is going to be more accurate at | |
622 * indicating whether a particular buddy is going to be able to message | |
623 * you, which is the important information that this is trying to convey. | |
624 */ | |
625 if (full && user) | |
621 { | 626 { |
622 purple_notify_user_info_add_pair(user_info, _("Blocked"), | 627 purple_notify_user_info_add_pair(user_info, _("Blocked"), |
623 ((user->list_op & (1 << MSN_LIST_BL)) ? _("Yes") : _("No"))); | 628 ((user->list_op & (1 << MSN_LIST_BL)) ? _("Yes") : _("No"))); |
624 } | 629 } |
625 } | 630 } |