From: Christian Dywan Date: Fri, 24 Feb 2012 23:51:52 +0000 (+0100) Subject: Handle Flash cookies on Windows and OS X X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9275a6cd24fa7480e4f1bd0abbe5217e2b9538a2;p=midori Handle Flash cookies on Windows and OS X --- 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 */