Making chat window banner adjustable
I found the banner inside chat windows too big and annoying. There's a huge 52px status icon, the user name in a big font and the user's status msg displayed. I wanted the banner to be half the size, so I made a patch to let the user adjust those things in the preferences. It adds the following variables:
- 'show_banner_image': display status icon in banner
- 'show_banner_online_msg': display status message of the contact in banner
- 'show_banner_resource': display resource name of the contact in banner
- 'banner_small_fonts': use small fonts for contact name and resource name in banner
Standard settings are: (show_banner_image: True, show_banner_online_msg: True, show_banner_resource: False, banner_small_fonts: False). That way the chat window looks like before.
My settings for a way smaller banner are: (show_banner_image: False, show_banner_online_msg: False, show_banner_resource: True, banner_small_fonts: True). Additionally I set chat_avatar_height to 28 to reduce the banner's height.