From bf6289b8d42dbc334ab91450eaa0896d629c5361 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 8 Jun 2013 00:49:45 +0200 Subject: 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. --- src/hints.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hints.h') 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); -- cgit v1.2.3