Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 13038:4005ad2b3ca9
[gaim-migrate @ 15397]
As per the discussion in #gaim today, don't dim offline buddies. Fixes SF Bug #1414461.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 26 Jan 2006 00:52:54 +0000 |
parents | 615c84e94745 |
children | 97fa7332b034 |
comparison
equal
deleted
inserted
replaced
13037:655d82876854 | 13038:4005ad2b3ca9 |
---|---|
2929 | 2929 |
2930 presence = gaim_buddy_get_presence(b); | 2930 presence = gaim_buddy_get_presence(b); |
2931 | 2931 |
2932 if (!gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons")) | 2932 if (!gaim_prefs_get_bool("/gaim/gtk/blist/show_buddy_icons")) |
2933 { | 2933 { |
2934 if (!selected && (gaim_presence_is_idle(presence) || !gaim_presence_is_online(presence))) | 2934 if (!selected && gaim_presence_is_idle(presence)) |
2935 { | 2935 { |
2936 text = g_strdup_printf("<span color='%s'>%s</span>", | 2936 text = g_strdup_printf("<span color='%s'>%s</span>", |
2937 dim_grey(), esc); | 2937 dim_grey(), esc); |
2938 g_free(esc); | 2938 g_free(esc); |
2939 return text; | 2939 return text; |
3021 else | 3021 else |
3022 text = g_strdup(esc); | 3022 text = g_strdup(esc); |
3023 } | 3023 } |
3024 else | 3024 else |
3025 { | 3025 { |
3026 if (!selected && (gaim_presence_is_idle(presence) || !gaim_presence_is_online(presence))) | 3026 if (!selected && 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 : "", |