libpurple/protocols/myspace/myspace.c

branch
soc.2007.msimprpl
changeset 19509
75059eaf1be9
parent 19507
5489112d974c
child 19510
1917495b301e
equal deleted inserted replaced
19508:cb76a8c90128 19509:75059eaf1be9
1932 } 1932 }
1933 1933
1934 uid = purple_blist_node_get_int(&user->buddy->node, "UserID"); 1934 uid = purple_blist_node_get_int(&user->buddy->node, "UserID");
1935 1935
1936 if (full) { 1936 if (full) {
1937 purple_notify_user_info_add_pair(user_info, _("User ID"), g_strdup_printf("%d", uid)); 1937 /* TODO: link to username, if available */
1938 purple_notify_user_info_add_pair(user_info, _("Profile"),
1939 g_strdup_printf("<a href=\"http://myspace.com/%d\">http://myspace.com/%d</a>",
1940 uid, uid));
1938 } 1941 }
1939 1942
1940 1943
1941 /* a/s/l...the vitals */ 1944 /* a/s/l...the vitals */
1942 if (user->age) { 1945 if (user->age) {

mercurial