summaryrefslogtreecommitdiff
path: root/libview/ev-web-view.c
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-07-23 00:18:47 +0530
committerrootavish <[email protected]>2014-07-23 00:18:47 +0530
commitb219a4a96ed7f38bf3de46bff790b139955bd927 (patch)
tree2b343eca1700182dd1696c617e074be237b0e3bb /libview/ev-web-view.c
parent529473758fee66ac2fb0f2c89e4298789d183d5b (diff)
downloadatril-b219a4a96ed7f38bf3de46bff790b139955bd927.tar.bz2
atril-b219a4a96ed7f38bf3de46bff790b139955bd927.tar.xz
Cleaned some code, added select-all functionality
Select all functionality to select all content from the webview. Cleaned ev-jobs.c, it had a lot of unused code.
Diffstat (limited to 'libview/ev-web-view.c')
-rw-r--r--libview/ev-web-view.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c
index 136e1e96..fbfbad02 100644
--- a/libview/ev-web-view.c
+++ b/libview/ev-web-view.c
@@ -358,4 +358,10 @@ gboolean
ev_web_view_get_has_selection(EvWebView *webview)
{
return webkit_web_view_has_selection(WEBKIT_WEB_VIEW(webview));
+}
+
+void
+ev_web_view_select_all(EvWebView *webview)
+{
+ webkit_web_view_select_all(WEBKIT_WEB_VIEW(webview));
} \ No newline at end of file