It's likely you have inadvertently combined some buddies into contacts when you did not intend to do so.To correct this you need to find which contact the logs are associated with.Watch the buddy list carefully; a bar will appear to show you where the buddy will go if you are in the right location. Right click a buddy on your list and at the bottom of the menu click "Expand".Then just drag other screen names to the same person below it.

When the contact is collapsed, Pidgin will select a buddy to display based on the status of the buddies in the contact, and their order.Right-click that entry in the buddy list and click Expand.Drag out the buddies that do not belong in the contact.For most users this will be or googlemail.com, but Google Apps for Your Domain users will use their domain instead. Some protocols impose a maximum file size on the icon or certain dimensions or certain file types.Pidgin will try to resize and convert the icon as needed to fit within the constraints of a given protocol.