diff src/protocols/msn/msn.c @ 19835:d99e36279d41

[gaim-migrate @ 17181] add PSM in tooltips fix oim bug in windows committed by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Wed, 06 Sep 2006 16:14:22 +0000
parents 3b971c87279d
children
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Sep 03 16:27:11 2006 +0000
+++ b/src/protocols/msn/msn.c	Wed Sep 06 16:14:22 2006 +0000
@@ -572,6 +572,12 @@
 
 	if (gaim_presence_is_online(presence))
 	{
+		char *psm;
+		psm = msn_status_text(buddy);
+		if (psm)
+			g_string_append_printf(str, _("\n<b>%s:</b> %s"), _("Psm"),psm);
+		g_free(psm);
+
 		g_string_append_printf(str, _("\n<b>%s:</b> %s"), _("Status"),
 							   gaim_presence_is_idle(presence) ?
 							   _("Idle") : gaim_status_get_name(status));
@@ -592,8 +598,6 @@
 							   (user->list_op & (1 << MSN_LIST_BL)) ?
 							   _("Yes") : _("No"));
 	}
-
-	gaim_debug_info("MaYuan","tooltip string:{%s}\n",str);
 }
 
 static GList *