Hello! I inquired on the Evolution users list about customizing the attribution string which heads each quoted message and was told that it's on the feature add list.
I've figured out where in mail-callbacks.c the change should be effected; it's small enough that I feel fairly competent in implementing it (famous last words). However, there's an implied set of tokens to the format string which I'd like to discuss a bit if anyone here is interested or has opinions. The current format string passed by EMsgComposer() is the result of strftime applied to "On %a, %Y-%m-%d at %H:%M, %%s wrote:", passed through e_utf8_from_locale_string() and is fed to mail_tool_quote_message() with either the name or email address of the person who authored the message being quoted. I think the most flexible approach might be to allow any single-% token handled by strftime and to use double-% tokens to represent bits which are expected to be meaningful in the context of the mail being quoted. A brief example or three: "On %a, %Y-%m-%d at %H:%M, %%name wrote:" "As %%name (%%address) can tell you:" "As the bell tolled %H:%M on the %d day of %m in the year %Y,\n a bolt of inspiration caused %%name to speak these words:" The obvious tokens would be %%name and %%address; %%datetime would also be useful and could resolve to "%a %b %d %H:%M:%S %Z %Y" or some other standard date representation. It might be interesting to provide some finer divisions of %%name and %%address such as %%username, %%domain, %%firstname, and %%lastname. Any others? Meanwhile, there are two other issues: where the preference is set in the GUI and where it's stored between sessions. I'd love some guidance on these as I've not ever worked with a Gnome application before this. Cheers! --j -- Jim Meyer, Geek At Large [EMAIL PROTECTED] _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers