aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-11-20 12:36:23 +0100
committerSebastian Geerken <devnull@localhost>2013-11-20 12:36:23 +0100
commit7dcfea2ee11c8bb89f0ce97b5029c30b59fc2787 (patch)
tree313756e703cd81ffd0426707bbe3b7f642c98b60 /src/styleengine.cc
parent5d18e6897aa7fe53fcadb457fa7d1caf5a143da3 (diff)
Added option "load_background_images" and entry in the tools menu.
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 5b3b34f0..98b31d32 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -524,6 +524,7 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props,
Color::create(layout, prefs.white_bg_replacement);
break;
case CSS_PROPERTY_BACKGROUND_IMAGE:
+ if (prefs.load_background_images)
{
DilloUrl *imgUrl =
a_Url_new (p->value.strVal, a_Url_str (url));