[evolution/webkit: 9/182] Fix default property value in EMFormatHTML
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 9/182] Fix default property value in EMFormatHTML
- Date: Tue, 6 Mar 2012 16:09:27 +0000 (UTC)
commit 0bd6fae45a69e6ff59f2419c9f746a1c5bc7b554
Author: Dan VrÃtil <dvratil redhat com>
Date: Wed Jul 27 18:22:36 2011 +0200
Fix default property value in EMFormatHTML
The correct default value of sender_photo is FALSE, otherwise the
feature could not be turned off.
Also fixes a possible crash when formatting is cancelled and proper
initialization of headers_collapsable property.
mail/em-format-html.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 6ef42c3..1f6e185 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -919,7 +919,7 @@ efh_class_init (EMFormatHTMLClass *class)
"show-sender-photo",
"Show Sender Photo",
NULL,
- TRUE,
+ FALSE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
@@ -968,7 +968,7 @@ efh_class_init (EMFormatHTMLClass *class)
g_object_class_install_property (
object_class,
- PROP_HEADERS_STATE,
+ PROP_HEADERS_COLLAPSABLE,
g_param_spec_boolean (
"headers-collapsable",
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]