comparison src/protocols/msn/msn.c @ 4745:01cae9259e2f

[gaim-migrate @ 5060] fixes a bug where if all your accounts got logged off, thus making the buddy list disappear, you could never get it back. That makes for a bad time when your internet connection goes out (like mine did last night) also makes some of the prpl tooltips spiffier, and re-does some of the handling of away messages in jabber, thus making it cooler. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 13 Mar 2003 17:52:21 +0000
parents c15e0699acae
children 677d3cb193a1
comparison
equal deleted inserted replaced
4744:a0746ffce599 4745:01cae9259e2f
1637 mft->xfer = transfer_out_add(gc, mft->sn); 1637 mft->xfer = transfer_out_add(gc, mft->sn);
1638 } 1638 }
1639 #endif 1639 #endif
1640 static char *msn_status_text(struct buddy *b) { 1640 static char *msn_status_text(struct buddy *b) {
1641 if (b->uc & UC_UNAVAILABLE) 1641 if (b->uc & UC_UNAVAILABLE)
1642 return strip_html(msn_get_away_text(b->uc >> 1)); 1642 return g_strdup(msn_get_away_text(b->uc >> 1));
1643 return NULL; 1643 return NULL;
1644 } 1644 }
1645 1645
1646 static char *msn_tooltip_text(struct buddy *b) { 1646 static char *msn_tooltip_text(struct buddy *b) {
1647 return strip_html(msn_get_away_text(b->uc >> 1)); 1647 return g_strdup_printf(_("<b>Status:</b> %s"), msn_get_away_text(b->uc >> 1));
1648 } 1648 }
1649 1649
1650 static GList *msn_buddy_menu(struct gaim_connection *gc, char *who) 1650 static GList *msn_buddy_menu(struct gaim_connection *gc, char *who)
1651 { 1651 {
1652 GList *m = NULL; 1652 GList *m = NULL;