aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-07-25 11:48:57 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-07-25 11:48:57 +0200
commitdd1460a17a757d151dd68e174c894c962c6545e7 (patch)
tree216e32ea16f0f5c56a2764d1a14aceafea5e104e /uzbl.c
parent9281582619675f4a88e374d4d64365438ce8ca95 (diff)
added update_gui command
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/uzbl.c b/uzbl.c
index 9db9263..95667c6 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -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;