diff options
author | rootavish <[email protected]> | 2014-07-23 22:19:20 +0530 |
---|---|---|
committer | rootavish <[email protected]> | 2014-07-23 22:19:20 +0530 |
commit | df1fce63dca7bd7ac85c720a357adba0f1b7108a (patch) | |
tree | a2510a8f9e9690f1b32b7729974f95764cc8cef7 /libview/ev-web-view.c | |
parent | b219a4a96ed7f38bf3de46bff790b139955bd927 (diff) | |
download | atril-df1fce63dca7bd7ac85c720a357adba0f1b7108a.tar.bz2 atril-df1fce63dca7bd7ac85c720a357adba0f1b7108a.tar.xz |
Added Zoom control, Window thubnail
Added zoom-in and zoom out capabilities, also re-enabled window thumbnail which I had disabled previously when the thumbnails were not implemented.
Still trying to get the document to display, need to make the right changes, also trying to stop the window from entering presentation view, but that does happen and needs to be fixed.
Diffstat (limited to 'libview/ev-web-view.c')
-rw-r--r-- | libview/ev-web-view.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c index fbfbad02..aa31751d 100644 --- a/libview/ev-web-view.c +++ b/libview/ev-web-view.c @@ -364,4 +364,16 @@ void ev_web_view_select_all(EvWebView *webview) { webkit_web_view_select_all(WEBKIT_WEB_VIEW(webview)); +} + +gboolean +ev_web_view_zoom_in(EvWebView *webview) +{ + webkit_web_view_zoom_in(WEBKIT_WEB_VIEW(webview)); +} + +gboolean +ev_web_view_zoom_out(EvWebView *webview) +{ + webkit_web_view_zoom_out(WEBKIT_WEB_VIEW(webview)); }
\ No newline at end of file |