# HG changeset patch # User Richard Laager # Date 1139459127 0 # Node ID 6ff5271afedc85b2b5e739928957b494dec3a171 # Parent 33bef17125c211beaaed22325faa16b1582b37a5 [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 diff -r 33bef17125c2 -r 6ff5271afedc src/gtkblist.c --- 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("%s\n" "%s%s%s", @@ -3042,6 +3042,14 @@ statustext != NULL ? statustext : ""); } } + else + text = g_strdup_printf("%s\n" + "%s%s%s", + esc, + idletime != NULL ? idletime : "", + (idletime != NULL && statustext != NULL) ? " - " : "", + statustext != NULL ? statustext : ""); + g_free(idletime); g_free(statustext);