aboutsummaryrefslogtreecommitdiffhomepage
path: root/callbacks.c
diff options
context:
space:
mode:
authorGravatar Rob <rob.manea@gmail.com>2009-10-27 21:28:09 +0100
committerGravatar Rob <rob.manea@gmail.com>2009-10-27 21:28:09 +0100
commit6c1ab4ab80943f4610d02db93b61a95c3c1fa69a (patch)
tree58951aa8fe2a379afe375cebd4b2a9cc5ae2b013 /callbacks.c
parent9d7ae1b21aefac2cf5418667bd150c110bf8932e (diff)
added zoom_type type variable
Diffstat (limited to 'callbacks.c')
-rw-r--r--callbacks.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c
index a699c1d..f4199ce 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -267,8 +267,15 @@ cmd_view_source() {
}
void
+cmd_set_zoom_type () {
+ if(uzbl.behave.zoom_type)
+ webkit_web_view_set_full_content_zoom (uzbl.gui.web_view, TRUE);
+ else
+ webkit_web_view_set_full_content_zoom (uzbl.gui.web_view, FALSE);
+}
+
+void
toggle_zoom_type (WebKitWebView* page, GArray *argv, GString *result) {
- (void)page;
(void)argv;
(void)result;