]> spindle.queued.net Git - midori/commitdiff
Clearing icons should remove icon database as well
authorChristian Dywan <christian@twotoasts.de>
Mon, 25 Oct 2010 21:40:03 +0000 (23:40 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 25 Oct 2010 22:26:54 +0000 (00:26 +0200)
midori/main.c

index db644e9b17996f0e47340ce9fbe712186106d76a..4be39a329a971ae4f985525c563d465169af9652 100644 (file)
@@ -1551,6 +1551,10 @@ midori_clear_page_icons_cb (void)
                                      PACKAGE_NAME, "icons", NULL);
     sokoke_remove_path (cache, TRUE);
     g_free (cache);
+    cache = g_build_filename (g_get_user_data_dir (),
+                              "webkit", "icondatabase", NULL);
+    sokoke_remove_path (cache, TRUE);
+    g_free (cache);
 }
 
 static void