[Xfce4-commits] <midori:master> Handle Flash cookies on Windows and OS X

Christian Dywan noreply at xfce.org
Sat Feb 25 00:54:02 CET 2012


Updating branch refs/heads/master
         to 9275a6cd24fa7480e4f1bd0abbe5217e2b9538a2 (commit)
       from 569b8e477933cd593f96e1a8a990048f9089983d (commit)

commit 9275a6cd24fa7480e4f1bd0abbe5217e2b9538a2
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Feb 25 00:51:52 2012 +0100

    Handle Flash cookies on Windows and OS X

 midori/main.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 339750a..08b163a 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -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 */


More information about the Xfce4-commits mailing list