comparison 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
comparison
equal deleted inserted replaced
19245:d7eea5c20cf9 19246:335ebd202a7d
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) {