Mercurial > pidgin
diff src/buddy.c @ 5131:feda37d46e17
[gaim-migrate @ 5494]
Added an overlay icon for "Not Authorized" buddies for ICQ, as suggested
by Nathan Walp.
Added a "Status: Not Authorized" line to the tooltip for ICQ buddies whose
authorization you don't have. This required making the gaim core call the
tooltip_text prpl function for offline buddies (previously it was only
called for online buddies).
Fixed the right-click "Re-request authorization" action. That was a stupid
problem with a } being in the wrong place at the wrong time. I put it in
line. Some brackets just require more guidance than others.
Fixed a minor crashbug on solaris when trying to print NULL values.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 14 Apr 2003 18:24:38 +0000 |
| parents | c081a81ee013 |
| children | 102135caa225 |
line wrap: on
line diff
--- a/src/buddy.c Mon Apr 14 05:17:35 2003 +0000 +++ b/src/buddy.c Mon Apr 14 18:24:38 2003 +0000 @@ -695,6 +695,9 @@ } } + if (!statustext && !GAIM_BUDDY_IS_ONLINE(b)) + statustext = g_strdup(_("<b>Status:</b> Offline")); + if (b->idle > 0) { int ihrs, imin; time_t t; @@ -721,7 +724,6 @@ "%s %s" /* Nickname */ "%s %s" /* Idle */ "%s %s" /* Warning */ - "%s" /* Offline */ "%s%s" /* Status */ "%s", b->name, @@ -729,7 +731,6 @@ nicktext ? _("\n<b>Nickname:</b>") : "", nicktext ? nicktext : "", idletime ? _("\n<b>Idle:</b>") : "", idletime ? idletime : "", b->evil ? _("\n<b>Warned:</b>") : "", b->evil ? warning : "", - !GAIM_BUDDY_IS_ONLINE(b) ? _("\n<b>Status:</b> Offline") : "", statustext ? "\n" : "", statustext ? statustext : "", !g_ascii_strcasecmp(b->name, "robflynn") ? _("\n<b>Description:</b> Spooky") : "");
