summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-jobs.c2
-rw-r--r--libview/ev-web-view.c6
-rw-r--r--libview/ev-web-view.h3
3 files changed, 10 insertions, 1 deletions
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
index 4596b58a..44881516 100644
--- a/libview/ev-jobs.c
+++ b/libview/ev-jobs.c
@@ -968,7 +968,7 @@ ev_job_web_thumbnail_new (EvDocument *document,
{
EvJobWebThumbnail *job;
- ev_debug_message (DEBUG_JOBS, "%d", page);
+ ev_debug_message (DEBUG_JOBS, "%s", webpage);
job = g_object_new (EV_TYPE_JOB_WEB_THUMBNAIL, NULL);
diff --git a/libview/ev-web-view.c b/libview/ev-web-view.c
index b88d09ff..136e1e96 100644
--- a/libview/ev-web-view.c
+++ b/libview/ev-web-view.c
@@ -353,3 +353,9 @@ ev_web_view_find_previous(EvWebView *webview)
{
}
+
+gboolean
+ev_web_view_get_has_selection(EvWebView *webview)
+{
+ return webkit_web_view_has_selection(WEBKIT_WEB_VIEW(webview));
+} \ No newline at end of file
diff --git a/libview/ev-web-view.h b/libview/ev-web-view.h
index 55736871..19d6c8a1 100644
--- a/libview/ev-web-view.h
+++ b/libview/ev-web-view.h
@@ -62,6 +62,9 @@ void ev_web_view_handle_link (EvWebView *webview, EvLink* link);
void ev_web_view_find_next (EvWebView *webview);
void ev_web_view_find_previous (EvWebView *webview);
+/*Selection*/
+gboolean ev_web_view_get_has_selection (EvWebView *webview);
+
G_END_DECLS
#endif /* __EV_WEB_VIEW_H__ */