Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 32359:dc3ea8f6381a
Use purple_notify_user_info_add_pair_plaintext in some places where we
were using purple_notify_user_info_add_pair (which expects an html string
for the value). Feel free to double check these if you care about one of
these protocols.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 21 Aug 2011 18:43:00 +0000 |
parents | ce6ef84fb8a0 |
children | 9aee8493db7f fcf841ffd620 |
comparison
equal
deleted
inserted
replaced
32358:ce6ef84fb8a0 | 32359:dc3ea8f6381a |
---|---|
4035 purple_notify_user_info_add_pair_plaintext(user_info, _("Presence"), presence); | 4035 purple_notify_user_info_add_pair_plaintext(user_info, _("Presence"), presence); |
4036 | 4036 |
4037 if (f && full) { | 4037 if (f && full) { |
4038 YahooPersonalDetails *ypd = &f->ypd; | 4038 YahooPersonalDetails *ypd = &f->ypd; |
4039 if (ypd->phone.home && *ypd->phone.home) | 4039 if (ypd->phone.home && *ypd->phone.home) |
4040 purple_notify_user_info_add_pair(user_info, _("Home Phone Number"), ypd->phone.home); | 4040 purple_notify_user_info_add_pair_plaintext(user_info, _("Home Phone Number"), ypd->phone.home); |
4041 if (ypd->phone.work && *ypd->phone.work) | 4041 if (ypd->phone.work && *ypd->phone.work) |
4042 purple_notify_user_info_add_pair(user_info, _("Work Phone Number"), ypd->phone.work); | 4042 purple_notify_user_info_add_pair_plaintext(user_info, _("Work Phone Number"), ypd->phone.work); |
4043 if (ypd->phone.mobile && *ypd->phone.mobile) | 4043 if (ypd->phone.mobile && *ypd->phone.mobile) |
4044 purple_notify_user_info_add_pair(user_info, _("Mobile Phone Number"), ypd->phone.mobile); | 4044 purple_notify_user_info_add_pair_plaintext(user_info, _("Mobile Phone Number"), ypd->phone.mobile); |
4045 } | 4045 } |
4046 } | 4046 } |
4047 | 4047 |
4048 static void yahoo_addbuddyfrommenu_cb(PurpleBlistNode *node, gpointer data) | 4048 static void yahoo_addbuddyfrommenu_cb(PurpleBlistNode *node, gpointer data) |
4049 { | 4049 { |