Mercurial > pidgin.yaz
comparison src/protocols/irc/msgs.c @ 7108:6faeeecab0dc
[gaim-migrate @ 7673]
Put the rest of util.[ch] into namespaces and sectioned off the functions.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 01 Oct 2003 07:15:53 +0000 |
parents | 86ed8b2aa665 |
children | bf630f7dfdcd |
comparison
equal
deleted
inserted
replaced
7107:9220c7490cd1 | 7108:6faeeecab0dc |
---|---|
201 if (irc->whois.channels) { | 201 if (irc->whois.channels) { |
202 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Currently on"), irc->whois.channels); | 202 g_string_append_printf(info, "<b>%s:</b> %s<br>", _("Currently on"), irc->whois.channels); |
203 g_free(irc->whois.channels); | 203 g_free(irc->whois.channels); |
204 } | 204 } |
205 if (irc->whois.idle) { | 205 if (irc->whois.idle) { |
206 gchar *timex = sec_to_text(irc->whois.idle); | 206 gchar *timex = gaim_str_seconds_to_string(irc->whois.idle); |
207 g_string_append_printf(info, _("<b>Idle for:</b> %s<br>"), timex); | 207 g_string_append_printf(info, _("<b>Idle for:</b> %s<br>"), timex); |
208 g_free(timex); | 208 g_free(timex); |
209 g_string_append_printf(info, "<b>%s:</b> %s", _("Online since"), ctime(&irc->whois.signon)); | 209 g_string_append_printf(info, "<b>%s:</b> %s", _("Online since"), ctime(&irc->whois.signon)); |
210 } | 210 } |
211 if (!strcmp(irc->whois.nick, "Paco-Paco")) { | 211 if (!strcmp(irc->whois.nick, "Paco-Paco")) { |