Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
24614:641fe4c2b2a5 | 24615:9fc3f5bf4455 |
---|---|
3185 g_free(tmp); | 3185 g_free(tmp); |
3186 g_free(info_utf8); | 3186 g_free(info_utf8); |
3187 } | 3187 } |
3188 } | 3188 } |
3189 | 3189 |
3190 purple_notify_user_info_add_section_break(user_info); | |
3191 tmp = g_strdup_printf("<a href=\"http://profiles.aim.com/%s\">%s</a>", | |
3192 purple_normalize(account, userinfo->sn), _("View web profile")); | |
3193 purple_notify_user_info_add_pair(user_info, NULL, tmp); | |
3194 g_free(tmp); | |
3195 | |
3190 purple_notify_userinfo(gc, userinfo->sn, user_info, NULL, NULL); | 3196 purple_notify_userinfo(gc, userinfo->sn, user_info, NULL, NULL); |
3191 purple_notify_user_info_destroy(user_info); | 3197 purple_notify_user_info_destroy(user_info); |
3192 | 3198 |
3193 return 1; | 3199 return 1; |
3194 } | 3200 } |