aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-05-19 20:41:52 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-05-19 20:41:52 +0800
commitafa1d5df9f208dc554cdb3ede0ab07f85be96650 (patch)
treee79080c266c896fc8b2ed90763c1fbaae872c2f7 /embed
parentcd6a565de9af99b743571a448ee9683ed5363c0f (diff)
downloadgsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar.gz
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar.bz2
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar.lz
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar.xz
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.tar.zst
gsoc2013-epiphany-afa1d5df9f208dc554cdb3ede0ab07f85be96650.zip
Remove fine grain color settings. Always use the system theme colors in
2003-05-19 David Bordoley <bordoley@msu.edu> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-notifiers.cpp: (conversion_table []): * src/prefs-dialog.c: (properties []): Remove fine grain color settings. Always use the system theme colors in the case where a page doesn't set it own colors.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-prefs.h5
-rw-r--r--embed/mozilla/default-prefs.js3
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp5
3 files changed, 3 insertions, 10 deletions
diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h
index 4582a15a5..3ced536ee 100644
--- a/embed/ephy-embed-prefs.h
+++ b/embed/ephy-embed-prefs.h
@@ -10,12 +10,7 @@
#define CONF_RENDERING_FONT_MIN_SIZE "/apps/epiphany/rendering/font_min_size"
#define CONF_RENDERING_LANGUAGE "/apps/epiphany/rendering/lang"
#define CONF_RENDERING_USE_OWN_COLORS "/apps/epiphany/rendering/use_own_colors"
-#define CONF_RENDERING_USE_SYSTEM_COLORS "/apps/epiphany/rendering/use_system_colors"
#define CONF_RENDERING_USE_OWN_FONTS "/apps/epiphany/rendering/use_own_fonts"
-#define CONF_RENDERING_BG_COLOR "/apps/epiphany/rendering/background_color"
-#define CONF_RENDERING_TEXT_COLOR "/apps/epiphany/rendering/text_color"
-#define CONF_RENDERING_VISITED_LINKS "/apps/epiphany/rendering/visited_link_color"
-#define CONF_RENDERING_UNVISITED_LINKS "/apps/epiphany/rendering/unvisited_link_color"
#define CONF_RENDERING_UNDERLINE_LINKS "/apps/epiphany/rendering/underline_links"
#define CONF_SECURITY_ALLOW_POPUPS "/apps/epiphany/security/allow_popups"
#define CONF_SECURITY_JAVA_ENABLED "/apps/epiphany/security/java_enabled"
diff --git a/embed/mozilla/default-prefs.js b/embed/mozilla/default-prefs.js
index c1ac9deed..be5a185c5 100644
--- a/embed/mozilla/default-prefs.js
+++ b/embed/mozilla/default-prefs.js
@@ -22,3 +22,6 @@ user_pref("network.dir.generate_html", true);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
+
+// Always use the system colors if a page doesn't specify its own.
+user_pref("browser.display.use_system_colors", true);
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index d9cc51689..0ef4b18d0 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -138,10 +138,6 @@ conversion_table [] =
{
{ CONF_SECURITY_JAVA_ENABLED, BOOL_PREF, "security.enable_java"},
{ CONF_SECURITY_JAVASCRIPT_ENABLED, BOOL_PREF, "javascript.enabled"},
- { CONF_RENDERING_BG_COLOR, STRING_PREF, "browser.display.background_color"},
- { CONF_RENDERING_TEXT_COLOR, STRING_PREF, "browser.display.foreground_color"},
- { CONF_RENDERING_UNVISITED_LINKS, STRING_PREF, "browser.anchor_color"},
- { CONF_RENDERING_VISITED_LINKS, STRING_PREF, "browser.visited_color"},
{ CONF_RENDERING_UNDERLINE_LINKS, BOOL_PREF, "browser.underline_anchors"},
{ CONF_NETWORK_PROXY_AUTO_URL, STRING_PREF, "network.proxy.autoconfig_url"},
{ CONF_NETWORK_HTTP_PROXY, STRING_PREF, "network.proxy.http"},
@@ -157,7 +153,6 @@ conversion_table [] =
{ CONF_NETWORK_DISK_CACHE, INT_PREF, "browser.cache.disk.capacity"},
{ CONF_NETWORK_CACHE_COMPARE, INT_PREF, "browser.cache.check_doc_frequency"},
{ CONF_SECURITY_COOKIES_ACCEPT, BOOL_PREF, "network.cookie.warnAboutCookies"},
- { CONF_RENDERING_USE_SYSTEM_COLORS, BOOL_PREF, "browser.display.use_system_colors"},
{ NULL, 0, NULL }
};