aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-notifiers.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-02 17:09:26 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-02 17:09:26 +0800
commit2507de9eae5d185af79d6425178ac571c4f48a75 (patch)
tree85da5db9f8fbb183b7c5805df472d1a2f7e9a41a /embed/mozilla/mozilla-notifiers.cpp
parent7c78319ee7d559c4cedb6f9d9845e5496ccb9520 (diff)
downloadgsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar.gz
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar.bz2
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar.lz
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar.xz
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.tar.zst
gsoc2013-epiphany-2507de9eae5d185af79d6425178ac571c4f48a75.zip
Use the browser icon from gnome icon theme. Get rid of cache comparing
2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.desktop.in: * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_size_group): * lib/ephy-dialog.h: * src/ephy-main.c: (main): * src/prefs-dialog.c: (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor): * src/window-commands.c: (window_cmd_help_about): Use the browser icon from gnome icon theme. Get rid of cache comparing prefs and rehash prefs pages to make them more specific.
Diffstat (limited to 'embed/mozilla/mozilla-notifiers.cpp')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index bf06296f8..81120997b 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -102,11 +102,6 @@ mozilla_cookies_accept_notifier (GConfClient *client,
guint cnxn_id,
GConfEntry *entry,
char *pref);
-static void
-mozilla_cache_compare_notifier (GConfClient *client,
- guint cnxn_id,
- GConfEntry *entry,
- char *pref);
/* Keeps the list of the notifiers we installed for mozilla prefs */
/* to be able to remove them when exiting */
@@ -165,8 +160,6 @@ custom_notifiers [] =
(GConfClientNotifyFunc) mozilla_proxy_autoconfig_notifier },
{ CONF_NETWORK_CACHE_SIZE,
(GConfClientNotifyFunc) mozilla_cache_size_notifier },
- { CONF_NETWORK_CACHE_COMPARE,
- (GConfClientNotifyFunc) mozilla_cache_compare_notifier },
{ CONF_SECURITY_COOKIES_ACCEPT,
(GConfClientNotifyFunc) mozilla_cookies_accept_notifier },
@@ -308,37 +301,6 @@ mozilla_cookies_accept_notifier (GConfClient *client,
}
static void
-mozilla_cache_compare_notifier (GConfClient *client,
- guint cnxn_id,
- GConfEntry *entry,
- char *pref)
-{
- const char *mode;
- int mozilla_mode = 0;
-
- mode = gconf_value_get_string(entry->value);
-
- if (strcmp (mode, "once per session") == 0)
- {
- mozilla_mode = 0;
- }
- else if (strcmp (mode, "every time") == 0)
- {
- mozilla_mode = 1;
- }
- else if (strcmp (mode, "never") == 0)
- {
- mozilla_mode = 2;
- }
- else if (strcmp (mode, "automatic") == 0)
- {
- mozilla_mode = 3;
- }
-
- mozilla_prefs_set_int ("browser.cache.check_doc_frequency", mozilla_mode);
-}
-
-static void
mozilla_font_notifier (GConfClient *client,
guint cnxn_id,
GConfEntry *entry,