summaryrefslogtreecommitdiff
path: root/src/hints.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2013-06-08 00:49:45 +0200
committerDaniel Carl <danielcarl@gmx.de>2013-06-08 00:55:25 +0200
commitbf6289b8d42dbc334ab91450eaa0896d629c5361 (patch)
tree1630d5f0159723af01b846f7d9cc4370fbe6b7ce /src/hints.h
parenta010ec2eff63b399c917452c0b6379aa588b8373 (diff)
Added hinting mode to download links (#32).
There is now a new hinting mode and command :hint-save to download the hinted links into the configured download directory. This hinting is bound to the keybinding ';s'. Also the enums out of the command.c file where moved into the command.h file, because they would be possible needed from other components that call commands directly and not from their string representation.
Diffstat (limited to 'src/hints.h')
-rw-r--r--src/hints.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hints.h b/src/hints.h
index 5146036..52d4220 100644
--- a/src/hints.h
+++ b/src/hints.h
@@ -31,7 +31,8 @@ enum {
HINTS_PROCESS_INPUT = (1 << 2),
HINTS_PROCESS_YANK = (1 << 3),
HINTS_PROCESS_OPEN = (1 << 4),
- HINTS_OPEN_NEW = (1 << 5),
+ HINTS_PROCESS_SAVE = (1 << 5),
+ HINTS_OPEN_NEW = (1 << 6),
};
void hints_init(WebKitWebFrame *frame);