Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 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 | f04dffe22957 |
children | 502a4de3365c |
comparison
equal
deleted
inserted
replaced
13200:33bef17125c2 | 13201:6ff5271afedc |
---|---|
3019 if (!selected && gaim_presence_is_idle(presence)) | 3019 if (!selected && gaim_presence_is_idle(presence)) |
3020 text = g_strdup_printf("<span color='%s'>%s</span>", dim_grey(), esc); | 3020 text = g_strdup_printf("<span color='%s'>%s</span>", dim_grey(), esc); |
3021 else | 3021 else |
3022 text = g_strdup(esc); | 3022 text = g_strdup(esc); |
3023 } | 3023 } |
3024 else | 3024 else if (!selected) |
3025 { | 3025 { |
3026 if (!selected && gaim_presence_is_idle(presence)) | 3026 if (gaim_presence_is_idle(presence)) |
3027 { | 3027 { |
3028 text = g_strdup_printf("<span color='%s'>%s</span>\n" | 3028 text = g_strdup_printf("<span color='%s'>%s</span>\n" |
3029 "<span color='%s' size='smaller'>%s%s%s</span>", | 3029 "<span color='%s' size='smaller'>%s%s%s</span>", |
3030 dim_grey(), esc, dim_grey(), | 3030 dim_grey(), esc, dim_grey(), |
3031 idletime != NULL ? idletime : "", | 3031 idletime != NULL ? idletime : "", |
3040 idletime != NULL ? idletime : "", | 3040 idletime != NULL ? idletime : "", |
3041 (idletime != NULL && statustext != NULL) ? " - " : "", | 3041 (idletime != NULL && statustext != NULL) ? " - " : "", |
3042 statustext != NULL ? statustext : ""); | 3042 statustext != NULL ? statustext : ""); |
3043 } | 3043 } |
3044 } | 3044 } |
3045 else | |
3046 text = g_strdup_printf("%s\n" | |
3047 "<span size='smaller'>%s%s%s</span>", | |
3048 esc, | |
3049 idletime != NULL ? idletime : "", | |
3050 (idletime != NULL && statustext != NULL) ? " - " : "", | |
3051 statustext != NULL ? statustext : ""); | |
3052 | |
3045 | 3053 |
3046 g_free(idletime); | 3054 g_free(idletime); |
3047 g_free(statustext); | 3055 g_free(statustext); |
3048 g_free(esc); | 3056 g_free(esc); |
3049 | 3057 |