diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-prefs.h | 5 | ||||
-rw-r--r-- | embed/mozilla/default-prefs.js | 3 | ||||
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 5 |
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 } }; |