| 725 for (; nlocs > 0; nlocs--) { |
725 for (; nlocs > 0; nlocs--) { |
| 726 /* XXX add real error reporting */ |
726 /* XXX add real error reporting */ |
| 727 ZGetLocations(&locs, &one); |
727 ZGetLocations(&locs, &one); |
| 728 g_string_append_printf(str, _("<br>At %s since %s"), locs.host, locs.time); |
728 g_string_append_printf(str, _("<br>At %s since %s"), locs.host, locs.time); |
| 729 } |
729 } |
| 730 gaim_notify_userinfo(gc, b ? b->name : user, _("Buddy Information"), NULL, |
730 gaim_notify_userinfo(gc, b ? b->name : user, |
| 731 str->str, NULL, NULL); |
731 str->str, NULL, NULL); |
| 732 g_string_free(str, TRUE); |
732 g_string_free(str, TRUE); |
| 733 } else { |
733 } else { |
| 734 if (nlocs>0) |
734 if (nlocs>0) |
| 735 gaim_prpl_got_user_status(gc->account,b->name,"online",NULL); |
735 gaim_prpl_got_user_status(gc->account,b->name,"online",NULL); |
| 1140 g_string_append_printf(str, _("<br>At %s since %s"), |
1140 g_string_append_printf(str, _("<br>At %s since %s"), |
| 1141 tree_child(tree_child(tree_child(tree_child(locations,2),0),0),2)->contents, |
1141 tree_child(tree_child(tree_child(tree_child(locations,2),0),0),2)->contents, |
| 1142 tree_child(tree_child(tree_child(tree_child(locations,2),0),2),2)->contents); |
1142 tree_child(tree_child(tree_child(tree_child(locations,2),0),2),2)->contents); |
| 1143 } |
1143 } |
| 1144 |
1144 |
| 1145 gaim_notify_userinfo(gc, b ? b->name : user, _("Buddy Information"), NULL, |
1145 gaim_notify_userinfo(gc, b ? b->name : user, |
| 1146 str->str, NULL, NULL); |
1146 str->str, NULL, NULL); |
| 1147 g_string_free(str, TRUE); |
1147 g_string_free(str, TRUE); |
| 1148 } else { |
1148 } else { |
| 1149 if (nlocs>0) |
1149 if (nlocs>0) |
| 1150 gaim_prpl_got_user_status(gc->account,b->name,"online",NULL); |
1150 gaim_prpl_got_user_status(gc->account,b->name,"online",NULL); |