diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-24 23:08:24 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-24 23:08:24 +0200 |
commit | b66ff3ea295863bebe2d062df0c235891f9a597b (patch) | |
tree | 9ca2de7d57b2e340d947b3b20c40e2bd23c498ad /src/plain.cc | |
parent | add402b9774dd3a8d0a097e4d40a650e360022e4 (diff) |
bring back bg_color dillorc option
Diffstat (limited to 'src/plain.cc')
-rw-r--r-- | src/plain.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plain.cc b/src/plain.cc index 4da618e4..b5b2dc0a 100644 --- a/src/plain.cc +++ b/src/plain.cc @@ -85,6 +85,8 @@ void a_Plain_free(void *data); */ DilloPlain::DilloPlain(BrowserWindow *p_bw) { + style::Color *bgColor; + /* Init event receiver */ plainReceiver.plain = this; @@ -95,6 +97,8 @@ DilloPlain::DilloPlain(BrowserWindow *p_bw) state = ST_SeekingEol; Layout *layout = (Layout*) bw->render_layout; + bgColor = style::Color::create (layout, prefs.bg_color); + layout->setBgColor(bgColor); StyleEngine styleEngine (layout); styleEngine.startElement ("body"); |