aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-17 02:32:10 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-17 02:32:10 +0800
commit53996fb55905d1a25df383b4ce12e64c572b58db (patch)
tree5b354892c86b2356f4aa18f0e39a2ec69237b233 /mail/mail-display.c
parentaf019dc03bac8bafb77b5cb4a98bdc17fd733b49 (diff)
downloadgsoc2013-evolution-53996fb55905d1a25df383b4ce12e64c572b58db.tar.gz
gsoc2013-evolution-53996fb55905d1a25df383b4ce12e64c572b58db.tar.zst
gsoc2013-evolution-53996fb55905d1a25df383b4ce12e64c572b58db.zip
Use our own display_style member instead of the global setting.
2001-07-16 Peter Williams <peterw@ximian.com> * mail-display.c (mail_display_redisplay): Use our own display_style member instead of the global setting. (mail_display_init): Initialize display_style. * mail-display.h: Include "mail-config.h" and add a display_style member. * mail-format.c (write_headers): Look at the MailDisplay's display_style instead of using the full_headers data. * folder-browser.c (folder_browser_set_message_display_style): Set the MailDisplay's display style as well as the global display style. (my_folder_browser_init): Don't save preference changes by default. (This is only observered wrt. the message display style but should apply to other items.) * folder-browser-factory.c (folder_browser_factory_new_control): Set this FB to save the preferences set in it. * folder-browser-ui.c (folder_browser_ui_add_message): Read our display's state instead of the global setting. svn path=/trunk/; revision=11131
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index a7fd33dc64..2a0748eb39 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1199,13 +1199,10 @@ mail_display_redisplay (MailDisplay *md, gboolean unscroll)
mail_html_write (md->html, md->stream, "<body marginwidth=0 marginheight=0>\n");
if (md->current_message) {
- MailConfigDisplayStyle style = mail_config_get_message_display_style ();
- if (style == MAIL_CONFIG_DISPLAY_SOURCE)
+ if (md->display_style == MAIL_CONFIG_DISPLAY_SOURCE)
mail_format_raw_message (md->current_message, md);
- else {
- g_datalist_set_data (md->data, "full_headers", GINT_TO_POINTER (style == MAIL_CONFIG_DISPLAY_FULL_HEADERS));
+ else
mail_format_mime_message (md->current_message, md);
- }
}
mail_html_write (md->html, md->stream, "</body></html>\n");
@@ -1278,6 +1275,8 @@ mail_display_init (GtkObject *object)
mail_display->data = NULL;
mail_display->invisible = gtk_invisible_new ();
+
+ mail_display->display_style = mail_config_get_message_display_style ();
}
static void
/span> * Reset undeliverable maintainer address:kris2006-11-241-1/+1 * - Update to 0.4.9.2.r4rafan2006-11-223-82/+57 * Update to 2.16.1.marcus2006-11-223-5/+7 * Mark it broken. Distfile is not fetchable.ehaupt2006-11-211-0/+2 * Update to 2006oedwin2006-11-202-5/+4 * Update misc/cpuid handling of AMD CPU featuresedwin2006-11-152-20/+143 * - Update MASTER_SITESmiwi2006-11-141-1/+1 * - Add backup MASTER_SITESmiwi2006-11-141-1/+3 * Update to version 1.2.6markus2006-11-134-8/+8 * - update to 2.3.3itetcu2006-11-115-42/+64 * Update to 3.5laszlof2006-11-092-10/+7 * - Drop maintainershipmiwi2006-11-091-1/+1 * - Update to 2-15-0miwi2006-11-092-4/+4 * Extract the packed Unreal [Tournament] mod files from a given umod.miwi2006-11-094-0/+34 * used MASTER_SITE_LOCAL instead of my own webhost.laszlof2006-11-081-2/+2 * Change my email address to farrokhi@ in all ports that I maintain.farrokhi2006-11-081-1/+1 * Update to 2.4.3.marcus2006-11-083-8/+17 * Update to 1.2.3 and bristuff-0.3.0-PRE-1s.fjoe2006-11-073-32/+31 * - Upgrade to 2.5.1p1.kuriyama2006-11-0736-236/+468 * Apparently I botched this commit the first time around. Sorry.ambrisko2006-11-072-6/+3 * - Fix pkg-plist.alepulver2006-11-072-11/+10 * - Update to 4.2.28miwi2006-11-064-8/+28 * - Unbreakmiwi2006-11-061-4/+1 * - Make fetchable.alepulver2006-11-061-1/+1 * Update to 2.3.7ehaupt2006-11-052-4/+4 * Reset bouncing maintainer address. CVS history indicates this may havelawrance2006-11-051-1/+1 * Unbreak and update master site.lawrance2006-11-051-6/+3 * - Drop maintainershipmiwi2006-11-051-1/+1 * Update to 1.99 release.ale2006-11-044-48/+70 * - Fix MASTER_SITE.flz2006-11-041-1/+1 * Update master site and maintainer email.ale2006-11-041-2/+2 * Update master site and maintainer email.ale2006-11-041-2/+3 * Drop maintainershipjylefort2006-11-032-2/+2 * Update to version 1.2.4markus2006-11-024-8/+8 * - Fix mastersite.jmelo2006-11-011-1/+1 * - Fix typo in mastersite.jmelo2006-11-011-1/+1 * - Fix mastersite.jmelo2006-11-011-1/+1 * - Pass maintainership to submittermiwi2006-11-011-1/+1 * - Update to 1.6.1miwi2006-11-0112-80/+16 * - Pass maintainership to submittermiwi2006-11-011-1/+1 * - Update to r6860rafan2006-11-013-4/+5 * [patch] fix misc/zoneinfo runtimeedwin2006-11-014-17/+32 * Extend expiration date with 1 month (counted from today) becausevd2006-10-311-1/+1 * Add comment that a new version is out to prevent someone from deletingvd2006-10-311-0/+1 * - Update to 20061026ahze2006-10-312-7/+13 * Add dphys-config 20061013, a tool to distribute config files.ehaupt2006-10-315-0/+78 * - Update to 0.09miwi2006-10-313-6/+6 * - Fix typo in pkg-messagerafan2006-10-314-2/+4 * - Add port misc/pecl-timezonedbmnag2006-10-314-0/+35 * To maintain compatibility with KDE (now that KDE relies on this port),marcus2006-10-231-3/+25 * Do not install hicolor-theme directories and index file, instead dependlofi2006-10-186-260/+88 * - it doesn't work with MySQL below 4.1.x because it uses sub-selectsitetcu2006-10-151-2/+3 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-1411-27/+55 * Add new entries for:marcus2006-10-141-0/+1 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-1416-1134/+3913 * Update to 2006nedwin2006-10-124-38/+5 * - fix build with gcc41dinoex2006-10-091-0/+11 * - fix build with gcc41dinoex2006-10-092-0/+60 * - Update to version 1.6.0.alepulver2006-10-0910-77/+176 * - Update to version 0.2.17.alepulver2006-10-092-4/+5 * - Update to 1.10.7miwi2006-10-092-4/+4 * - Update to 1.8miwi2006-10-082-4/+4 * - make gcc41 happydinoex2006-10-081-10/+17 * - Add new rule to Brazilian DSTmnag2006-10-082-0/+34 * - Pre-release clients are now properly released.tdb2006-10-082-9/+21 * - Fix build with gcc41miwi2006-10-074-9/+54 * - Fix build with gcc41miwi2006-10-0710-15/+73 * update to 2006medwin2006-10-072-4/+4 * - Allow both escape characters '#' and '='miwi2006-10-073-0/+98 * - Update mastersites.jmelo2006-10-062-2/+2 * - Update to 1.01b.14rafan2006-10-044-164/+29 * Add support for Swyx 4xS0 SX2 QuadBri card. Bump PORTREVISION.sobomax2006-10-042-0/+15 * Change the following ports to my FreeBSD.org email.chinsan2006-10-031-1/+1 * Update to version 1.2.3markus2006-10-034-8/+8 * Remove expired ports:vd2006-10-026-195/+0 * - update to 0.32clsung2006-10-023-6/+9 * - Update to 1.6miwi2006-09-3020-72/+100 * - Update to 1.5.9miwi2006-09-3010-42/+60 * Correct emacs dependencykris2006-09-291-1/+1 * Switch to emacs21 which is buildable on amd64kris2006-09-291-1/+1 * Actually put something in files/patch-setup.sh and fix left-overs on deinstall.itetcu2006-09-282-0/+12 * Update to 0.311mat2006-09-262-4/+5 * Remove WWW, freshmeat project page disappearedehaupt2006-09-261-2/+0 * upgrade to 2.00ijliao2006-09-263-29/+21 * Update to 2.3.6ehaupt2006-09-262-5/+4 * - Update to 0.31clsung2006-09-252-6/+6 * - Update to 0.31clsung2006-09-252-6/+6 * - Update to 0.31clsung2006-09-253-8/+13 * - Update to 0.53bsam2006-09-244-33/+9 * Reset maintainership of ports assigned to antonio@php.net after numerouslinimon2006-09-231-1/+1 * - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directorystas2006-09-203-3/+3 * update to 2006ledwin2006-09-192-5/+4 * - Net/SMTP.pm and Digest/MD5.pm are both installed with perl 5.8.x so drop themitetcu2006-09-193-3/+24 * Add gwenview-i18n 1.4.0, localized messages and documentation formarkus2006-09-185-0/+231 * Update to version 0.12.17markus2006-09-153-4/+33 * Update to version 1.2.2markus2006-09-154-8/+8 * Drop maintainership.osa2006-09-151-1/+1 * - Fix segfault on -CURRENTnovel2006-09-152-0/+12 * Turncperciva2006-09-131-1/+1 * cleanup pkg-plist after gnustep-makedinoex2006-09-131-2/+0 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-13252-761/+1530 * - update to 1.1.0dinoex2006-09-134-53/+73 * - Update to 2.2.1miwi2006-09-124-5/+10 * Relinquish MAINTAINER.grog2006-09-121-1/+1 * Update MASTER_SITES and WWW, project page disappeared. Use freshmeat page forehaupt2006-09-082-3/+2 * Clean up distfiles sources.cracauer2006-09-071-2/+1 * - Update to 1.0rafan2006-09-072-4/+4 * Fix typos wrt. Makefile variables like $FOO}vs2006-09-071-1/+1 * - Unbreak [1]barner2006-09-052-10/+8 * Reset inactive maintainer who has not responded to email.linimon2006-09-051-1/+1 * Reset inactive maintainer who has not responded to email.linimon2006-09-041-1/+1 * - Enrich plistsat2006-09-041-0/+2 * don't forget the patchfiles dutchman\!edwin2006-09-044-0/+34 * Update to 0.19.marcus2006-09-043-8/+85 * BROKEN: Unfetchable. Since this port is unmaintained, deprecate andkris2006-09-041-0/+4 * Update to version 1.2markus2006-09-046-8/+34 * Revert previous commit; the port is indeed broken since it fetches fromkris2006-09-031-0/+4 * NO_CDROM and NO_PACKAGE are not appropriate; use RESTRICTED here insteadkris2006-09-031-2/+1 * - Respect CFLAGSrafan2006-09-031-1/+1 * Chase net/samba to net/samba3 in preparation for removal of the former.kris2006-09-034-8/+8 * Replace samba by samba3 since the former is about to be removed.kris2006-09-031-1/+1 * Schedule these broken ports for termination on 2006-12-01kris2006-09-036-0/+12 * - Update to 12.0sat2006-09-012-5/+5 * Fix the packing list.jylefort2006-09-012-0/+2 * Reset maintainer at his request.kris2006-08-311-1/+1 * - Update to 0.2.5clsung2006-08-303-24/+40 * Update to 1.1ahze2006-08-292-5/+4 * Update to 2006kedwin2006-08-293-338/+358 * - Update to 3.8.6miwi2006-08-282-4/+4 * Update to 0.11.3jylefort2006-08-235-54/+30 * Release maintainership on behalf of Bjorn Lindstromfenner2006-08-231-1/+1 * - Add mastersite.jmelo2006-08-223-12/+8 * - Update MASTER_SITESgarga2006-08-212-8/+9 * - Reformat distinfomiwi2006-08-212-7/+6 * - update to -> 3.15mich2006-08-212-4/+4 * Table.el is an Emacs lisp package that extends Emacs and provides textanray2006-08-216-0/+68 * Update to 3.2.7ehaupt2006-08-184-16/+12 * - Update to 0.10clsung2006-08-172-4/+4 * - Update to 0.10clsung2006-08-172-4/+4 * - Update to 0.10clsung2006-08-172-4/+4 * Change BROKEN to IGNORE and set timer for deletion in 2 monthskris2006-08-171-1/+3 * Mirror the misc/histring and net/tcpcat sources at MASTER_SITE_LOCAL,roam2006-08-171-1/+3 * Fix PLIST, add missing build time dependency.demon2006-08-162-2/+5 * - Update to 0.2.4rafan2006-08-163-11/+33 * - Remove directories that are not in mtree filerafan2006-08-152-0/+8 * - s,INSTALLS_SHLIB,USE_LDCONFIG,gclsung2006-08-157-7/+7 * Don't forget to run ztcfg.sobomax2006-08-151-1/+2 * Convert to rcNG.sobomax2006-08-152-0/+76 * Convert to rcNG.sobomax2006-08-154-72/+3 * - Update to r6770rafan2006-08-152-4/+4 * Respect DESTDIR by remove EXAMPLESDIRmat2006-08-141-1/+0 * Add ruby-vpim 0.360, vCard and iCalendar support for ruby.clsung2006-08-14