diff options
author | portix <none@none> | 2013-01-09 23:58:34 +0100 |
---|---|---|
committer | portix <none@none> | 2013-01-09 23:58:34 +0100 |
commit | 7066c99ee903da1fa39a3506a1f562fb346cd6d0 (patch) | |
tree | 79502b58e990a346f10701a1fd86e72d7ecaf83f /src/config.h | |
parent | 1d3c857fb1b1c1215065166d9fdb0c6841c9d49f (diff) | |
download | dwb-7066c99ee903da1fa39a3506a1f562fb346cd6d0.zip |
New command 'print_preview'; new option print-previewer
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index d44dc60f..81c6cb09 100644 --- a/src/config.h +++ b/src/config.h @@ -186,6 +186,7 @@ static KeyValue KEYS[] = { { "toggle_tab", { "@Tab@", GDK_CONTROL_MASK, 0 }, }, { "reload_bookmarks", { NULL, 0, 0 }, }, { "reload_quickmarks", { NULL, 0, 0 }, }, + { "print_preview", { NULL, 0, 0 }, }, }; /* FUNCTION_MAP{{{*/ @@ -205,6 +206,9 @@ static FunctionMap FMAP [] = { { { "cancel_download", "Cancel a download", }, CP_COMMANDLINE, (Func)commands_cancel_download, "No download to stop", ALWAYS_SM, { .p = NULL }, EP_NONE, { NULL }, }, + { { "print_preview", "Show a print preview", }, CP_COMMANDLINE, + (Func)commands_print_preview, NULL, ALWAYS_SM, + { .p = NULL }, EP_NONE, { NULL }, }, { { "clear_tab", "Clear current tab", }, CP_COMMANDLINE, (Func)commands_clear_tab, NULL, ALWAYS_SM, @@ -1164,4 +1168,6 @@ static WebSettings DWB_SETTINGS[] = { SETTING_GLOBAL, INTEGER, { .i = 250 }, NULL, { 0 }, }, { { "load-on-focus", "Load uris at the earliest when a tab gets focus", }, SETTING_GLOBAL, BOOLEAN, { .b = false }, NULL, { 0 }, }, + { { "print-previewer", "Command used for the printing preview", }, + SETTING_GLOBAL, CHAR, { .p = NULL }, NULL, { 0 }, }, };/*}}}*/ |