# HG changeset patch # User Richard Laager # Date 1226863047 0 # Node ID 1034b0d093981144e0a88249d0f807abfe8f89d1 # Parent 37be968cd42caa64d9db24fe250a6a5d245c365e Look at the mood status attribute on a buddy when picking the emblem. diff -r 37be968cd42c -r 1034b0d09398 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sun Nov 16 19:17:07 2008 +0000 +++ b/pidgin/gtkblist.c Sun Nov 16 19:17:27 2008 +0000 @@ -3658,8 +3658,12 @@ if (prpl_info && prpl_info->list_emblem) name = prpl_info->list_emblem(buddy); - if (name == NULL) - return NULL; + if (name == NULL) { + PurpleStatus *status = purple_presence_get_active_status(p); + name = purple_status_get_attr_string(status, "mood"); + if(!(name && *name)) + return NULL; + } filename = g_strdup_printf("%s.png", name);