summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html.c b/src/html.c
index b4519b98..9d33450c 100644
--- a/src/html.c
+++ b/src/html.c
@@ -64,8 +64,8 @@ DwbStatus
html_load_page(WebKitWebView *wv, HtmlTable *t, char *panel) {
char *filecontent;
GString *content = g_string_new(NULL);
- char *path = util_get_data_file(t->file, "lib");
- char *headpath = util_get_data_file(HEAD_FILE, "lib");
+ char *path = util_get_data_file(t->file, "html");
+ char *headpath = util_get_data_file(HEAD_FILE, "html");
DwbStatus ret = STATUS_ERROR;
if (path && headpath)
@@ -324,7 +324,7 @@ html_settings(GList *gl, HtmlTable *table)
DwbStatus ret = STATUS_ERROR;
WebKitWebView *wv = WEBVIEW(gl);
- char *path = util_get_data_file(SETTINGS_FILE, "lib");
+ char *path = util_get_data_file(SETTINGS_FILE, "html");
if (path != NULL)
{
g_file_get_contents(path, &content, NULL, NULL);
@@ -427,7 +427,7 @@ html_keys(GList *gl, HtmlTable *table)
DwbStatus ret = STATUS_ERROR;
char *content = NULL;
WebKitWebView *wv = WEBVIEW(gl);
- char *path = util_get_data_file(KEY_FILE, "lib");
+ char *path = util_get_data_file(KEY_FILE, "html");
if (path != NULL)
{
g_signal_connect(wv, "notify::load-status", G_CALLBACK(html_keys_load_cb), table);