[evolution/webkit: 163/182] Fix headers to be expanded by default
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 163/182] Fix headers to be expanded by default
- Date: Tue, 6 Mar 2012 16:22:25 +0000 (UTC)
commit 7fd472ac668750023f4b8c4a3bfef75f70fb1c57
Author: Dan VrÃtil <dvratil redhat com>
Date: Tue Feb 21 16:06:02 2012 +0100
Fix headers to be expanded by default
mail/e-mail-display.c | 2 +-
mail/em-format-html.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 2a66a60..234cd43 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -966,7 +966,7 @@ toggle_headers_visibility (WebKitDOMElement *button,
webkit_dom_html_image_element_set_src (
WEBKIT_DOM_HTML_IMAGE_ELEMENT (button), path);
- e_mail_display_set_headers_collapsed (E_MAIL_DISPLAY (web_view), !expanded);
+ e_mail_display_set_headers_collapsed (E_MAIL_DISPLAY (web_view), expanded);
d(printf("Headers %s!\n", expanded ? "collapsed" : "expanded"));
}
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 3d54a3c..592194d 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -854,8 +854,8 @@ efh_write_headers (EMFormat *emf,
if (info->headers_collapsable) {
g_string_append_printf (buffer,
- "<img src=\"evo-file://%s/%s\" onClick=\"collapse_headers();\" "
- "class=\"navigable\" id=\"__evo-collapse-headers-img\" />"
+ "<img src=\"evo-file://%s/%s\" class=\"navigable\" "
+ "id=\"__evo-collapse-headers-img\" />"
"</td><td>",
EVOLUTION_IMAGESDIR,
(info->headers_collapsed) ? "plus.png" : "minus.png");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]