]> spindle.queued.net Git - midori/commitdiff
Handle Flash cookies on Windows and OS X
authorChristian Dywan <christian@twotoasts.de>
Fri, 24 Feb 2012 23:51:52 +0000 (00:51 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 24 Feb 2012 23:52:55 +0000 (00:52 +0100)
midori/main.c

index 339750ac911ca3e82147192acaa107977b4c70e4..08b163a331d2c95f6733ad698eb522c4dac962d7 100644 (file)
@@ -1747,6 +1747,15 @@ midori_clear_web_cookies_cb (void)
     cache = g_build_filename (g_get_home_dir (), ".macromedia", "Flash_Player", NULL);
     sokoke_remove_path (cache, TRUE);
     g_free (cache);
+    #elif defined(GDK_WINDOWING_WIN32)
+    cache = g_build_filename (g_get_user_data_dir (), "Macromedia", "Flash Player", NULL);
+    sokoke_remove_path (cache, TRUE);
+    g_free (cache);
+    #elif defined(GDK_WINDOWING_QUARTZ)
+    cache = g_build_filename (g_get_home_dir (), "Library", "Preferences",
+                              "Macromedia", "Flash Player", NULL);
+    sokoke_remove_path (cache, TRUE);
+    g_free (cache);
     #endif
 
     /* HTML5 databases */