aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-07 19:54:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-07 19:54:41 +0800
commit1b57d44cfe8ed36a245f6a31961ec67d31529262 (patch)
treeaa3819a64f9efed3649fc6d0bdeb6e08652e940a /src/prefs-dialog.c
parentec3068c56f7af999038247a4ec03be3db810a33f (diff)
downloadgsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.gz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.bz2
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.lz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.xz
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.tar.zst
gsoc2013-epiphany-1b57d44cfe8ed36a245f6a31961ec67d31529262.zip
Remove memory cache prefs/ui, now mozilla can deal with it automagically.
2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * 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.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c28
1 files changed, 6 insertions, 22 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 53170f8f3..594e11e21 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -54,11 +54,8 @@ void
prefs_proxy_auto_url_reload_cb (GtkWidget *button,
EphyDialog *dialog);
void
-prefs_clear_memory_cache_button_clicked_cb (GtkWidget *button,
- gpointer data);
-void
-prefs_clear_disk_cache_button_clicked_cb (GtkWidget *button,
- gpointer data);
+prefs_clear_cache_button_clicked_cb (GtkWidget *button,
+ gpointer data);
void
prefs_dialog_response_cb (GtkDialog *dialog, gint response_id, gpointer data);
void
@@ -258,8 +255,7 @@ EphyDialogProperty properties [] =
/* Advanced */
{ CACHE_COMPARE_PROP, "cache_compare_radiobutton", CONF_NETWORK_CACHE_COMPARE, PT_AUTOAPPLY, NULL },
- { DISK_CACHE_PROP, "disk_cache_spin", CONF_NETWORK_DISK_CACHE, PT_AUTOAPPLY, NULL },
- { MEMORY_CACHE_PROP, "memory_cache_spin", CONF_NETWORK_MEMORY_CACHE, PT_AUTOAPPLY, NULL },
+ { DISK_CACHE_PROP, "disk_cache_spin", CONF_NETWORK_CACHE_SIZE, PT_AUTOAPPLY, NULL },
{ -1, NULL, NULL }
};
@@ -1076,27 +1072,15 @@ prefs_dialog_response_cb (GtkDialog *dialog, gint response_id, gpointer data)
}
void
-prefs_clear_memory_cache_button_clicked_cb (GtkWidget *button,
- gpointer data)
-{
- EphyEmbedSingle *single;
-
- single = ephy_embed_shell_get_embed_single
- (EPHY_EMBED_SHELL (ephy_shell));
-
- ephy_embed_single_clear_cache (single, MEMORY_CACHE);
-}
-
-void
-prefs_clear_disk_cache_button_clicked_cb (GtkWidget *button,
- gpointer data)
+prefs_clear_cache_button_clicked_cb (GtkWidget *button,
+ gpointer data)
{
EphyEmbedSingle *single;
single = ephy_embed_shell_get_embed_single
(EPHY_EMBED_SHELL (ephy_shell));
- ephy_embed_single_clear_cache (single, DISK_CACHE);
+ ephy_embed_single_clear_cache (single);
}
void