[evolution/wip/webkit2] WebKit2 - Fix how the CSS link color rule is created
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] WebKit2 - Fix how the CSS link color rule is created
- Date: Wed, 22 Apr 2015 13:13:00 +0000 (UTC)
commit 3a9ed5566e74515bb6fe3b9fd3813dd9f5712785
Author: Tomas Popela <tpopela redhat com>
Date: Mon Mar 30 11:39:42 2015 +0200
WebKit2 - Fix how the CSS link color rule is created
web-extensions/e-html-editor-view-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c
b/web-extensions/e-html-editor-view-dom-functions.c
index 768d3c7..3b23deb 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -6806,7 +6806,7 @@ dom_set_link_color (WebKitDOMDocument *document,
WEBKIT_DOM_NODE (head), WEBKIT_DOM_NODE (style_element), NULL);
}
- color_str = g_strdup_printf ("a { color: #%06x; }", color);
+ color_str = g_strconcat ("a { color: ", color, "; }", NULL);
webkit_dom_html_element_set_inner_html (
WEBKIT_DOM_HTML_ELEMENT (style_element), color_str, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]