From 9275a6cd24fa7480e4f1bd0abbe5217e2b9538a2 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 25 Feb 2012 00:51:52 +0100 Subject: [PATCH] Handle Flash cookies on Windows and OS X --- midori/main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/midori/main.c b/midori/main.c index 339750ac..08b163a3 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 */