diff src/protocols/msn/msn.c @ 12948:563fb4f1e9fc

[gaim-migrate @ 15301] This is the last of my tooltip updates. This hides everything but status and message from non-full tooltips. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Jan 2006 07:21:18 +0000
parents 82e918444965
children ec9b92104904
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Thu Jan 19 07:16:07 2006 +0000
+++ b/src/protocols/msn/msn.c	Thu Jan 19 07:21:18 2006 +0000
@@ -554,11 +554,17 @@
 							   _("Idle") : gaim_status_get_name(status));
 	}
 
-	if (user)
+	if (full && user)
 	{
 		g_string_append_printf(s, _("\n<b>%s:</b> %s"), _("Has you"),
 							   (user->list_op & (1 << MSN_LIST_RL)) ?
 							   _("Yes") : _("No"));
+
+	/* XXX: This is being shown in non-full tooltips because the
+	 * XXX: blocked icon overlay isn't always accurate for MSN.
+	 * XXX: This can die as soon as gaim_privacy_check() knows that
+	 * XXX: this prpl always honors both the allow and deny lists. */
+	if (user)
 		g_string_append_printf(s, _("\n<b>%s:</b> %s"), _("Blocked"),
 							   (user->list_op & (1 << MSN_LIST_BL)) ?
 							   _("Yes") : _("No"));