summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-11-26 22:55:19 +0100
committerDaniel Carl <danielcarl@gmx.de>2014-12-02 00:17:59 +0100
commit459a6456574070cf6fe8cee24a59ecc5d6044479 (patch)
tree644a7a8c366ea1f528c99e105b4bb728986d0b27 /src/main.h
parentec72477d0e87ecc68c69bccffd4e538d5e97b5f4 (diff)
Show mode label in statusbar.
This avoid often opening inputbox in case 'input-autohide=on' is set.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 4c480b7..76b5d8c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -271,6 +271,7 @@ typedef struct {
/* statusbar */
typedef struct {
GtkBox *box;
+ GtkWidget *mode;
GtkWidget *left;
GtkWidget *right;
GtkWidget *cmd;
@@ -393,6 +394,7 @@ void vb_update_statusbar(void);
void vb_update_status_style(void);
void vb_update_input_style(void);
void vb_update_urlbar(const char *uri);
+void vb_update_mode_label(const char *label);
void vb_register_add(char buf, const char *value);
const char *vb_register_get(char buf);
gboolean vb_download(WebKitWebView *view, WebKitDownload *download, const char *path);