]> spindle.queued.net Git - midori/commitdiff
Drop thumb:// pseudo-uri since it is not reliable enough
authorPaweł Forysiuk <tuxator@o2.pl>
Sun, 29 May 2011 21:40:29 +0000 (23:40 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 1 Jun 2011 23:03:10 +0000 (01:03 +0200)
midori/midori-view.c

index 331e7bd4a12276f94e56b741d888f3bd5a57e24f..2493603ddb133b0188c6dfce2425ad147f7a5c30 100644 (file)
@@ -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;