[M34-Merge] 'Load images' settings option fixed.
authorPiotr Grad <p.grad@samsung.com>
Sun, 25 Jan 2015 12:03:36 +0000 (13:03 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
EWK API expects to not show images - not only to not download images.

original commit:
http://165.213.202.130:8080/#/c/69544/
Reviewed by: Hyunhak Kim, Piotr Grad, SeungSeop Park

Change-Id: I216d20a8190bf44812ba4e0fc52185ab5db706ee
Signed-off-by: Piotr Grad <p.grad@samsung.com>
tizen_src/ewk/efl_integration/public/ewk_settings.cc

index c91bd48..8b109e1 100644 (file)
@@ -85,6 +85,7 @@ Eina_Bool ewk_settings_loads_images_automatically_set(Ewk_Settings* settings, Ei
 {
   EINA_SAFETY_ON_NULL_RETURN_VAL(settings, false);
   settings->getPreferences().loads_images_automatically = automatic;
+  settings->getPreferences().images_enabled = automatic;
   ewkUpdateWebkitPreferences(settings->getEvasObject());
   return true;
 }