diff options
author | portix <portix@gmx.net> | 2011-06-25 17:37:17 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-06-25 17:37:17 +0200 |
commit | d2f025fa17bb55c5e7a2164512463dc46cb009e3 (patch) | |
tree | 395d1edc443b59c4216452de6dc21cf990b1cb75 /src/html.c | |
parent | b3c4b8b62f52c07b6b9e69626fa5f3bda3ecfecd (diff) | |
download | dwb-d2f025fa17bb55c5e7a2164512463dc46cb009e3.zip |
INFO_FILE for keyboard settings
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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); |