diff options
author | Robert Manea <gotmor@gmail.com> | 2009-07-25 11:48:57 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-07-25 11:48:57 +0200 |
commit | dd1460a17a757d151dd68e174c894c962c6545e7 (patch) | |
tree | 216e32ea16f0f5c56a2764d1a14aceafea5e104e /uzbl.c | |
parent | 9281582619675f4a88e374d4d64365438ce8ca95 (diff) |
added update_gui command
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -821,7 +821,8 @@ struct {char *key; CommandInfo value;} cmdlist[] = { "keycmd_nl", {keycmd_nl, TRUE} }, { "keycmd_bs", {keycmd_bs, 0} }, { "chain", {chain, 0} }, - { "print", {print, TRUE} } + { "print", {print, TRUE} }, + { "update_gui", {update_gui, TRUE} } }; void @@ -876,6 +877,13 @@ set_var(WebKitWebView *page, GArray *argv, GString *result) { } void +update_gui(WebKitWebView *page, GArray *argv, GString *result) { + (void) page; (void) argv; (void) result; + + update_title(); +} + +void print(WebKitWebView *page, GArray *argv, GString *result) { (void) page; (void) result; gchar* buf; |