From 1b57d44cfe8ed36a245f6a31961ec67d31529262 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 7 Jun 2003 11:54:41 +0000 Subject: Remove memory cache prefs/ui, now mozilla can deal with it automagically. 2003-06-07 Marco Pesenti Gritti * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/ephy-embed-single.c: (ephy_embed_single_clear_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_folder): * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Remove memory cache prefs/ui, now mozilla can deal with it automagically. Rename Appeareance tab to be less generic. Do not convert spaces to _ on bookmarks importing. --- embed/mozilla/mozilla-embed-single.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'embed/mozilla/mozilla-embed-single.cpp') diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index dc5540302..808d61f24 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -203,8 +203,7 @@ static void mozilla_embed_single_finalize (GObject *object); static gresult -impl_clear_cache (EphyEmbedSingle *shell, - CacheType type); +impl_clear_cache (EphyEmbedSingle *shell); static gresult impl_set_offline_mode (EphyEmbedSingle *shell, gboolean offline); @@ -651,8 +650,7 @@ mozilla_embed_single_finalize (GObject *object) } static gresult -impl_clear_cache (EphyEmbedSingle *shell, - CacheType type) +impl_clear_cache (EphyEmbedSingle *shell) { nsresult rv; @@ -660,7 +658,7 @@ impl_clear_cache (EphyEmbedSingle *shell, do_GetService (NS_CACHESERVICE_CONTRACTID, &rv); if (NS_FAILED(rv)) return G_FAILED; - CacheService->EvictEntries((guint)type); + CacheService->EvictEntries (nsICache::STORE_ANYWHERE); return G_OK; } -- cgit v1.2.3