Thu, 09 Feb 2006 04:25:27 +0000
[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"
| src/gtkblist.c | file | annotate | diff | comparison | revisions |
--- 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);