diff libpurple/protocols/myspace/myspace.c @ 19246:335ebd202a7d

Link to profile in get info.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 15 Aug 2007 06:26:48 +0000
parents b29788c6d269
children 44b9e41bde2a
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Wed Aug 15 04:22:36 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Wed Aug 15 06:26:48 2007 +0000
@@ -1934,7 +1934,10 @@
 	uid = purple_blist_node_get_int(&user->buddy->node, "UserID");
 
 	if (full) {
-		purple_notify_user_info_add_pair(user_info, _("User ID"), g_strdup_printf("%d", uid));
+		/* TODO: link to username, if available */
+		purple_notify_user_info_add_pair(user_info, _("Profile"),
+				g_strdup_printf("<a href=\"http://myspace.com/%d\">http://myspace.com/%d</a>",
+					uid, uid));
 	}