Mercurial > pidgin.yaz
changeset 13201:6ff5271afedc
[gaim-migrate @ 15564]
Fix this:
"FYI I noticed that highlight a buddy no longer causes the gray text to become
white. Gray text on the blue highlight color is pretty unreadable for me.
-Mark"
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 09 Feb 2006 04:25:27 +0000 |
parents | 33bef17125c2 |
children | 241c59e3906b |
files | src/gtkblist.c |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Thu Feb 09 04:17:56 2006 +0000 +++ b/src/gtkblist.c Thu Feb 09 04:25:27 2006 +0000 @@ -3021,9 +3021,9 @@ else text = g_strdup(esc); } - else + else if (!selected) { - if (!selected && gaim_presence_is_idle(presence)) + if (gaim_presence_is_idle(presence)) { text = g_strdup_printf("<span color='%s'>%s</span>\n" "<span color='%s' size='smaller'>%s%s%s</span>", @@ -3042,6 +3042,14 @@ statustext != NULL ? statustext : ""); } } + else + text = g_strdup_printf("%s\n" + "<span size='smaller'>%s%s%s</span>", + esc, + idletime != NULL ? idletime : "", + (idletime != NULL && statustext != NULL) ? " - " : "", + statustext != NULL ? statustext : ""); + g_free(idletime); g_free(statustext);