summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-06-25 17:37:17 +0200
committerportix <portix@gmx.net>2011-06-25 17:37:17 +0200
commitd2f025fa17bb55c5e7a2164512463dc46cb009e3 (patch)
tree395d1edc443b59c4216452de6dc21cf990b1cb75 /src/html.c
parentb3c4b8b62f52c07b6b9e69626fa5f3bda3ecfecd (diff)
downloaddwb-d2f025fa17bb55c5e7a2164512463dc46cb009e3.zip
INFO_FILE for keyboard settings
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/html.c b/src/html.c
index 94b33787..94b8b499 100644
--- a/src/html.c
+++ b/src/html.c
@@ -27,7 +27,7 @@ static HtmlTable table[] = {
{ "dwb://bookmarks", "Bookmarks", INFO_FILE, 0, dwb_html_bookmarks },
{ "dwb://quickmarks", "Quickmarks", INFO_FILE, 0, dwb_html_quickmarks },
{ "dwb://history", "History", INFO_FILE, 0, dwb_html_history },
- { "dwb://keys", "Keys", KEY_FILE, 0, dwb_html_keys },
+ { "dwb://keys", "Keys", INFO_FILE, 0, dwb_html_keys },
//{ "dwb://settings", "Settings", SETTINGS_FILE, 0, dwb_html_settings },
};
@@ -35,13 +35,8 @@ void
dwb_html_load_page(WebKitWebView *wv, HtmlTable *t, char *panel) {
char *filecontent;
GString *content = g_string_new(NULL);
-#if 0
char *path = dwb_util_get_data_file(t->file);
char *headpath = dwb_util_get_data_file(HEAD_FILE);
-#else
- char *path = g_strdup("../lib/info.html");
- char *headpath = g_strdup("../lib/head.html");
-#endif
if (path && headpath) {
/* load head */
g_file_get_contents(headpath, &filecontent, NULL, NULL);