comparison src/protocols/oscar/oscar.c @ 4426:3299863ab060

[gaim-migrate @ 4701] ...It's gonna take a lot to drag me away from you There's nothing that a hundred men or more could ever do I bless the rains down in Africa, I passed some rains down in Africa... I made it so "Get Info" shows xxx days, xx hours, xx minutes, xx seconds instead of oodles of minutes. I also removed that entry from the todo... hence the lyrics from Toto... I don't think I'm cheesey enough. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 26 Jan 2003 08:42:34 +0000
parents 4bb433a7331c
children 00a22e2e8367
comparison
equal deleted inserted replaced
4425:be8f9ca74ddf 4426:3299863ab060
2791 membersince = g_strdup_printf("Member Since : <B>%s</B><BR>\n", 2791 membersince = g_strdup_printf("Member Since : <B>%s</B><BR>\n",
2792 asctime(localtime(&info->membersince))); 2792 asctime(localtime(&info->membersince)));
2793 } 2793 }
2794 2794
2795 if (info->present & AIM_USERINFO_PRESENT_IDLE) { 2795 if (info->present & AIM_USERINFO_PRESENT_IDLE) {
2796 idle = g_strdup_printf("Idle : <B>%hu minutes</B>", 2796 gchar *itime = sec_to_text(info->idletime*60);
2797 info->idletime); 2797 idle = g_strdup_printf("Idle : <B>%s</B>", itime);
2798 g_free(itime);
2798 } else 2799 } else
2799 idle = g_strdup("Idle: <B>Active</B>"); 2800 idle = g_strdup("Idle: <B>Active</B>");
2800 2801
2801 g_snprintf(header, sizeof header, 2802 g_snprintf(header, sizeof header,
2802 _("Username : <B>%s</B> %s <BR>\n" 2803 _("Username : <B>%s</B> %s <BR>\n"