Commit 003a2260 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Make WebkitGTK segfaulting

parent 3a5c981b
......@@ -22,7 +22,6 @@ from threading import current_thread
from gettext import gettext as _
from pickle import dump, load
from urllib.parse import urlparse
from getpass import getuser
from time import time
import json
from signal import signal, SIGINT, SIGTERM
......@@ -52,8 +51,6 @@ class Application(Gtk.Application):
Eolie application
"""
__FAVICONS_PATH = "/tmp/eolie_%s" % getuser()
def __init__(self, version, extension_dir):
"""
Create application
......@@ -284,13 +281,6 @@ class Application(Gtk.Application):
"""
return self.get_windows()
@property
def favicons_path(self):
"""
Cookies sqlite DB path
"""
return self.__FAVICONS_PATH
@property
def extension_dir(self):
"""
......
......@@ -32,7 +32,6 @@ class Context:
self.__context = context
if not context.is_ephemeral():
context.set_cache_model(WebKit2.CacheModel.WEB_BROWSER)
context.set_favicon_database_directory(App().favicons_path)
cookie_manager = context.get_cookie_manager()
cookie_manager.set_accept_policy(
App().settings.get_enum("cookie-storage"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment