Mercurial > pidgin
changeset 19246:335ebd202a7d
Link to profile in get info.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Wed, 15 Aug 2007 06:26:48 +0000 |
parents | d7eea5c20cf9 |
children | 44b9e41bde2a |
files | libpurple/protocols/myspace/myspace.c libpurple/protocols/myspace/myspace.h |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
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)); }
--- a/libpurple/protocols/myspace/myspace.h Wed Aug 15 04:22:36 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Wed Aug 15 06:26:48 2007 +0000 @@ -69,7 +69,7 @@ /* Use the attention API for zaps? */ /* Can't have until >=2.2.0, since is a new API. */ -#define MSIM_USE_ATTENTION_API +/*#define MSIM_USE_ATTENTION_API */ /* Constants */