Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 23487:09feece6ecd5
Fixed some small rendering errors in conversations and prefs
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Tue, 05 Aug 2008 18:51:24 +0000 |
parents | 3baef5c88959 |
children | 2d419a0fc0e4 |
comparison
equal
deleted
inserted
replaced
23486:3baef5c88959 | 23487:09feece6ecd5 |
---|---|
3826 nametext = g_markup_escape_text(name, strlen(name)); | 3826 nametext = g_markup_escape_text(name, strlen(name)); |
3827 | 3827 |
3828 presence = purple_buddy_get_presence(b); | 3828 presence = purple_buddy_get_presence(b); |
3829 | 3829 |
3830 /* Name is all that is needed */ | 3830 /* Name is all that is needed */ |
3831 if (biglist || !aliased) { | 3831 if (!aliased && biglist) { |
3832 | 3832 |
3833 /* Status Info */ | 3833 /* Status Info */ |
3834 prpl = purple_find_prpl(purple_account_get_protocol_id(b->account)); | 3834 prpl = purple_find_prpl(purple_account_get_protocol_id(b->account)); |
3835 | 3835 |
3836 if (prpl != NULL) | 3836 if (prpl != NULL) |
3951 pair = pidgin_blist_theme_get_status_text_info(theme); | 3951 pair = pidgin_blist_theme_get_status_text_info(theme); |
3952 status_color = (pair != NULL && pair->color != NULL) ? pair->color : "dim grey"; | 3952 status_color = (pair != NULL && pair->color != NULL) ? pair->color : "dim grey"; |
3953 status_font = (pair != NULL && pair->font != NULL) ? pair->font : ""; | 3953 status_font = (pair != NULL && pair->font != NULL) ? pair->font : ""; |
3954 } | 3954 } |
3955 | 3955 |
3956 if (selected) { | 3956 if (!aliased && selected) { |
3957 name_color = "black"; | 3957 name_color = "black"; |
3958 status_color = "black"; | 3958 status_color = "black"; |
3959 } | 3959 } |
3960 | 3960 |
3961 /* Put it all together */ | 3961 /* Put it all together */ |
3962 if (biglist && (statustext || idletime)) { | 3962 if (!aliased && biglist && (statustext || idletime)) { |
3963 /* using <span size='smaller'> breaks the status, so it must be seperated into <small><span>*/ | 3963 /* using <span size='smaller'> breaks the status, so it must be seperated into <small><span>*/ |
3964 text = g_strdup_printf("<span font_desc='%s' foreground='%s'>%s</span>\n" | 3964 text = g_strdup_printf("<span font_desc='%s' foreground='%s'>%s</span>\n" |
3965 "<small><span font_desc='%s' foreground='%s'>%s%s%s</span></small>", | 3965 "<small><span font_desc='%s' foreground='%s'>%s%s%s</span></small>", |
3966 name_font, name_color, nametext, status_font, status_color, | 3966 name_font, name_color, nametext, status_font, status_color, |
3967 idletime != NULL ? idletime : "", | 3967 idletime != NULL ? idletime : "", |