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/ephy-embed-single.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'embed/ephy-embed-single.h') diff --git a/embed/ephy-embed-single.h b/embed/ephy-embed-single.h index 3d271842e..2e313b6ef 100644 --- a/embed/ephy-embed-single.h +++ b/embed/ephy-embed-single.h @@ -98,12 +98,6 @@ typedef enum IMAGES_PERMISSION } PermissionType; -typedef enum -{ - DISK_CACHE = 2, - MEMORY_CACHE = 1 -} CacheType; - struct EphyEmbedSingle { GObject parent; @@ -121,8 +115,7 @@ struct EphyEmbedSingleClass /* Methods */ - gresult (* clear_cache) (EphyEmbedSingle *shell, - CacheType type); + gresult (* clear_cache) (EphyEmbedSingle *shell); gresult (* set_offline_mode) (EphyEmbedSingle *shell, gboolean offline); gresult (* load_proxy_autoconf) (EphyEmbedSingle *shell, @@ -165,8 +158,7 @@ GType ephy_embed_single_get_type (void); EphyEmbedSingle *ephy_embed_single_new (const char *type); -gresult ephy_embed_single_clear_cache (EphyEmbedSingle *shell, - CacheType type); +gresult ephy_embed_single_clear_cache (EphyEmbedSingle *shell); gresult ephy_embed_single_set_offline_mode (EphyEmbedSingle *shell, gboolean offline); -- cgit v1.2.3