aboutsummaryrefslogtreecommitdiff
path: root/src/plain.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-10-11 20:55:12 +0200
committerjcid <devnull@localhost>2007-10-11 20:55:12 +0200
commitfecc92e0ea7103f14aa843ac7236feff8a4c093c (patch)
treeb670182454106625aded0ce3d2e3264672fa83d9 /src/plain.cc
parent9306f65b8de5aad7bc61e39e94bd9d190c3573e8 (diff)
+- Connected signals to <li> elements (fixes links within lists).
- Enabled text and background color-choice in preferences. - Enabled clicking over image links. Patches: place +- Fixed a va_list-related SEGFAULT on 64bit-arch in dStr_vsprintfa(). Patch: Vincent Thomasset +- Fixed void to int conversions for 64bit-arch. Patch: Jorge Arellano, higuita +- Added a strndup() replacement in dw2 Patch: Alexander Becher, Johannes Hofmann, Jorge Arellano +- Fixed calcHashValue() to only return non-negative numbers (was SEGFAULT). - Improved scrolling performance on large pages by copying screen data instead of rendering. Patches: Johannes Hofmann
Diffstat (limited to 'src/plain.cc')
-rw-r--r--src/plain.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plain.cc b/src/plain.cc
index be7b1e4c..1240716f 100644
--- a/src/plain.cc
+++ b/src/plain.cc
@@ -124,9 +124,9 @@ static DilloPlain *Plain_new(BrowserWindow *bw)
styleAttrs.initValues ();
styleAttrs.margin.setVal (5);
styleAttrs.font = style::Font::create (layout, &fontAttrs);
- styleAttrs.color = style::Color::createSimple (layout, 0x0000ff);
+ styleAttrs.color = style::Color::createSimple (layout, prefs.text_color);
styleAttrs.backgroundColor =
- style::Color::createSimple (layout, 0xdcd1ba);
+ style::Color::createSimple (layout, prefs.bg_color);
plain->widgetStyle = style::Style::create (layout, &styleAttrs);
/* The context menu */