Branch: refs/heads/master Author: Chow Loong Jin hyperair@debian.org Committer: Chow Loong Jin hyperair@debian.org Date: Sat, 13 Jan 2018 05:18:16 UTC Commit: ba6142e6ad784d182bda184d7bc12420e1f0563c https://github.com/geany/geany-plugins/commit/ba6142e6ad784d182bda184d7bc124...
Log Message: ----------- webhelper: Initialize webkit favicon database
This fixes missing favicons in webhelper.
Modified Paths: -------------- webhelper/src/gwh-browser.c
Modified: webhelper/src/gwh-browser.c 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -1124,6 +1124,7 @@ gwh_browser_init (GwhBrowser *self) { GtkWidget *scrolled; WebKitSettings *wkws; + WebKitWebContext *wkcontext; gboolean inspector_detached;
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GWH_TYPE_BROWSER, @@ -1134,6 +1135,9 @@ gwh_browser_init (GwhBrowser *self) self->priv->web_view = webkit_web_view_new (); wkws = webkit_web_view_get_settings (WEBKIT_WEB_VIEW (self->priv->web_view)); g_object_set (wkws, "enable-developer-extras", TRUE, NULL); + + wkcontext = webkit_web_view_get_context (WEBKIT_WEB_VIEW (self->priv->web_view)); + webkit_web_context_set_favicon_database_directory (wkcontext, NULL);
self->priv->settings = gwh_settings_get_default (); g_object_get (self->priv->settings,
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org