Ok, I've tried to merge in as much of dobey and NotZed's feedback as possible. This new patch: * uses XML in gconf to store settings, avoiding the two gconf keys problem of the last patch * has a revamped user interface with much better feedback. The new header is typed into the edit field at the top; the Add button is active only if the entered header is valid and unique. the check box now selects whether or not the custom header is displayed in the view
* correctly refreshes the mail view when apply is pressed * keyboard shortcuts should be correct, and the UI should be more HIG compliant * actually attempted to write a complete changelog Screenshot of the configuration interface: http://grahame.angrygoats.net/images/custom-mail-headers2.png Screenshot of the resulting email display: http://grahame.angrygoats.net/images/custom-mail-headers-view2.png Patch is attached. It should be pretty clean, and I don't think it leaks memory or does anything hideous. dobey was saying on IRC that he'd like this to go into the View menu somewhere, so that arbitrary custom views can be defined. I'm really not sure where to start with that, but I can give it a try. It'd be nice to commit this and then look for a generic solution - what do people think? I'm a bit scared of bonoboui :)