From 11dd3d758f182ed1a85f514236b56d7d80021c73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Sun, 29 May 2011 23:40:29 +0200 Subject: [PATCH] Drop thumb:// pseudo-uri since it is not reliable enough --- midori/midori-view.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 331e7bd4..2493603d 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1139,15 +1139,6 @@ midori_view_web_view_resource_request_cb (WebKitWebView* web_view, webkit_network_request_set_uri (request, file_uri); g_free (file_uri); } - else if (g_str_has_prefix (uri, "thumb://")) - { - gchar* file_path = g_build_filename (g_get_user_cache_dir (), "midori", "thumbnails", - g_strdup (uri + 8), NULL); - gchar* file_uri = g_filename_to_uri (file_path, NULL, NULL); - webkit_network_request_set_uri (request, file_uri); - g_free (file_uri); - g_free (file_path); - } else if (g_str_has_prefix (uri, "stock://")) { GdkPixbuf* pixbuf; -- 2.39.5