e
This commit is contained in:
parent
a5ecebd37a
commit
ffe81769f3
|
@ -351,10 +351,10 @@ class WebSettings(WebKit2.Settings):
|
|||
logging.error('Invalid setting:', key)
|
||||
return
|
||||
|
||||
if key == 'hardware-acceleration-policy':
|
||||
value = accel_policy.get(value.lower(), value)
|
||||
if self[key] == value:
|
||||
return
|
||||
|
||||
self.set_property(key, value)
|
||||
self[key] = value
|
||||
self.apply()
|
||||
|
||||
|
||||
|
|
|
@ -324,7 +324,7 @@ class WebviewHandler(ComponentBase):
|
|||
if not url:
|
||||
return
|
||||
|
||||
self.tab.set_favicon_from_cache(url)
|
||||
#self.tab.set_favicon_from_cache(url)
|
||||
|
||||
## Only enable the page cache for http(s) urls
|
||||
self.settings.set('enable-page-cache', url.proto in ['http', 'https'])
|
||||
|
|
Reference in a new issue