diff options
author | portix <none@none> | 2012-03-20 16:15:45 +0100 |
---|---|---|
committer | portix <none@none> | 2012-03-20 16:15:45 +0100 |
commit | cf936ba790ed41303ed298ea0700bfbbf58627ca (patch) | |
tree | 0c3f34341cc15eb2aff86aa2011b653af6b8ce08 /src/config.h | |
parent | 87f9191f0ecf1a9dc42534abcddf97e7e92d4821 (diff) | |
download | dwb-cf936ba790ed41303ed298ea0700bfbbf58627ca.zip |
New option hint-autofollow, closing #118; free scripts, userscripts and hint_style in dwb_clean_up
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/config.h b/src/config.h index 5b3f79dc..55579350 100644 --- a/src/config.h +++ b/src/config.h @@ -964,25 +964,28 @@ static WebSettings DWB_SETTINGS[] = { SETTING_GLOBAL, CHAR, { .p = NULL }, (S_Func) dwb_reload_layout, }, { { "hint-style", "Whether to use 'letter' or 'number' hints", }, - SETTING_PER_VIEW, CHAR, { .p = "letter" }, (S_Func) dwb_reload_scripts, }, + SETTING_GLOBAL, CHAR, { .p = "letter" }, (S_Func) dwb_init_hints, }, { { "hint-letter-seq", "Letter sequence for letter hints", }, - SETTING_PER_VIEW, CHAR, { .p = "FDSARTGBVECWXQYIOPMNHZULKJ" }, NULL, }, + SETTING_GLOBAL, CHAR, { .p = "FDSARTGBVECWXQYIOPMNHZULKJ" }, (S_Func) dwb_init_hints, }, { { "hint-highlight-links", "Whether to highlight links in hintmode", }, - SETTING_PER_VIEW, BOOLEAN, { .b = false }, NULL }, + SETTING_GLOBAL, BOOLEAN, { .b = false }, (S_Func) dwb_init_hints }, { { "hint-font", "Font size of hints", }, - SETTING_PER_VIEW, CHAR, { .p = "bold 10px monospace" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "bold 10px monospace" }, (S_Func) dwb_init_hints }, { { "hint-fg-color", "Foreground color of hints", }, - SETTING_PER_VIEW, CHAR, { .p = "#000000" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "#000000" }, (S_Func) dwb_init_hints }, { { "hint-bg-color", "Background color of hints", }, - SETTING_PER_VIEW, CHAR, { .p = "#ffffff" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "#ffffff" }, (S_Func) dwb_init_hints }, { { "hint-active-color", "Color of the active link in hintmode", }, - SETTING_PER_VIEW, CHAR, { .p = "#00ff00" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "#00ff00" }, (S_Func) dwb_init_hints }, { { "hint-normal-color", "Color of inactive links in hintmode", }, - SETTING_PER_VIEW, CHAR, { .p = "#ffff99" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "#ffff99" }, (S_Func) dwb_init_hints }, { { "hint-border", "Border used for hints", }, - SETTING_PER_VIEW, CHAR, { .p = "1px solid #000000" }, NULL }, + SETTING_GLOBAL, CHAR, { .p = "1px solid #000000" }, (S_Func) dwb_init_hints }, { { "hint-opacity", "The opacity of hints", }, - SETTING_PER_VIEW, DOUBLE, { .d = 0.8 }, NULL }, + SETTING_GLOBAL, DOUBLE, { .d = 0.8 }, (S_Func) dwb_init_hints }, + { { "hint-autofollow", "Whether to follow hints automatically if one hint matches", }, + SETTING_GLOBAL, BOOLEAN, { .b = true }, (S_Func) dwb_init_hints }, + { { "auto-completion", "Show possible shortcuts", }, SETTING_GLOBAL | SETTING_ONINIT, BOOLEAN, { .b = false }, (S_Func)completion_set_autcompletion, }, { { "startpage", "The default homepage", }, |