[patch] improve handling of embedded messages
- From: Albrecht Dreß <albrecht dress arcor de>
- To: Balsa-Liste <balsa-list gnome org>
- Subject: [patch] improve handling of embedded messages
- Date: Sun, 19 Jan 2003 11:52:08 +0100
Hi,
attached is a first working patch (against 2.0.5 cvs, details below) to
improve the handling of embedded messages (You will get embedded messages
(message/rfc822 parts) when using e.g. forward->attached).
This patch will
* add vertical bars (aka vseparator) to the left of embedded message parts
according to their "nesting depth" (embedded messages may again contain
message/rfc822 parts);
* display the header lines of embedded messages, honoring the
configuration for the global headers and all changes (e.g. the "all
headers" button).
Still TODO:
* visualise the structure in the icon list (how???)
* do the same for printing...
Any comments are -as always- welcome!
Cheers, Albrecht.
Patch details:
* file libmutt/parse.c:
let libmutt extract all header lines including the "user headers" from
embedded messages
* files libbalsa/body.h, libbalsa/libbalsa.h:
define a new struct to hold the embedded headers
* file libbalsa/body.c:
new function libbalsa_message_body_extract_embedded_headers to extract
headers of an embedded message into a struct plus all the infrastructure
to create and free it
* file src/balsa-message.c:
for embedded parts, put the widget into a hbox with vseparator(s) to the
left, new function display_embedded_headers() to display the embedded
headers (we can *not* use display_headers()!), extension of
part_info_init_message() and balsa_message_set_displayed_headers()
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Johanna-Kirchner-Straße 13 - D-53123 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@arcor.de
_________________________________________________________________________
Embedded-Msg.patch.gz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]