After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108489 - Some headers do not appear by requiring all headers
Some headers do not appear by requiring all headers
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.14.0 betas
Other Linux
: Normal normal
: 0.14.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-03-15 23:25 UTC by Mahaleo
Modified: 2006-06-18 05:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mahaleo 2003-03-15 23:25:39 UTC
Pan 0.13.91

With shortcut 'H' or by menu, these headers do not appear in body pane:
- Mime-Version,
- Content-Type and charset,
- Content-Transfer-Encoding
Comment 1 Charles Kerr 2003-03-16 02:35:28 UTC
Heh, Chris noticed this yesterday.  I wondered how long it would be
until someone filed a bug report on this.

fejj: this is a regression that I've apparently introduced.
I remember that there were multiple ways of extracting headers
from GMime; one allowed _all_ headers, including mime, to be
pulled; others didn't.  Could you please look at pan/pan/text.c
lines 689-694 and see what you think?  What should the code
look like instead?

Comment 2 Jeffrey Stedfast 2003-03-17 02:15:56 UTC
g_mime_object_get_headers() called on the message object *should* get
you all you need.
Comment 3 Charles Kerr 2003-03-19 22:45:51 UTC
Ah, I was using foreach() on the message->headers but not
drilling down to see if message->mime_part->headers existed
too.  Adding an if (message->mime_part) { foreach m->m->h }
does the trick.

Fixed in CVS:
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=text.c&rev1=1.350&rev2=1.351&root=/cvs/gnome
http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.88&rev2=1.89&root=/cvs/gnome