Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/oscar.c @ 24615:9fc3f5bf4455
Make our profile text a little cleaner and more uniform across the protocols.
They all have a "View web profile" link at the bottom that opens the user's
profile in a browser. I'm open to suggestions on the wording. I also wasn't
sure if it was better for the link to be at the bottom of the profile or the
top.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 09 Dec 2008 02:59:29 +0000 |
parents | 0320b4a33432 |
children | e4b1ba7c351c ea70a446dde4 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Mon Dec 08 02:22:59 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Tue Dec 09 02:59:29 2008 +0000 @@ -3187,6 +3187,12 @@ } } + purple_notify_user_info_add_section_break(user_info); + tmp = g_strdup_printf("<a href=\"http://profiles.aim.com/%s\">%s</a>", + purple_normalize(account, userinfo->sn), _("View web profile")); + purple_notify_user_info_add_pair(user_info, NULL, tmp); + g_free(tmp); + purple_notify_userinfo(gc, userinfo->sn, user_info, NULL, NULL); purple_notify_user_info_destroy(user_info);