From 3eda7a50de7059e7898944d74ab1fc7c707e089b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 26 Jul 2013 09:33:29 -0400 Subject: Add e_web_view_cursor_image_copy(). Asynchronously copies the image under the cursor to the clipboard. This replaces the "cursor-image" property, which attempts to match the image URI to a subresource from WebKitWebDataSource. The problem with that approach is EMailDisplay redirects several URI schemes to its own custom request handlers which further mutate the URI. So for example, a text/html message may use a "cid:" URI to refer to an embedded image, which EMailDisplay transforms to a "mail:" URI and finally to a "data:" URI. The final image URI might not be derivable from the original URI without retracing the SoupRequest. The "image-copy" action now calls e_web_view_cursor_image_copy(). This also adds an explicit requirement on gdk-pixbuf-2.0 >= 2.24 for gdk_pixbuf_new_from_stream_async() / finish(). New functions: e_web_view_cursor_image_copy() Removed functions: e_web_view_get_cursor_image() e_web_view_set_cursor_image() --- doc/reference/evolution-util/evolution-util-sections.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/reference/evolution-util/evolution-util-sections.txt') diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index 5d3f070540..ed4a25dd3b 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4376,8 +4376,6 @@ e_web_view_get_magic_smileys e_web_view_set_magic_smileys e_web_view_get_selected_uri e_web_view_set_selected_uri -e_web_view_get_cursor_image -e_web_view_set_cursor_image e_web_view_get_cursor_image_src e_web_view_set_cursor_image_src e_web_view_get_open_proxy @@ -4412,6 +4410,7 @@ e_web_view_stop_loading e_web_view_update_actions e_web_view_get_selection_html e_web_view_update_fonts +e_web_view_cursor_image_copy e_web_view_request e_web_view_request_finish e_web_view_install_request_handler -- cgit v1.2.3