diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-06 10:09:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-06 10:09:38 +0100 |
commit | 620bd1c02fb87eb424819e4daf1482da29fb727e (patch) | |
tree | dc8c4e83d697e5a033dd7c1cf9c464513a0e3a44 /src/prefs.c | |
parent | 9514cc5f1a0bc7e8ba63791edd62d2d9e69821f8 (diff) |
remove bg_color dillorc option
To set a custom background color add a line like:
body {background-color: white}
to your ~/.dillo/style.css file.
This also works for plain text display and image viewing.
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/prefs.c b/src/prefs.c index 815262c0..e0b746ae 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -43,7 +43,6 @@ #define D_SEARCH_URL "http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s" #define D_SAVE_DIR "/tmp/" -#define DW_COLOR_DEFAULT_BGND 0xdcd1ba #define DW_COLOR_DEFAULT_TEXT 0x000000 #define DW_COLOR_DEFAULT_LINK 0x0000ff #define DW_COLOR_DEFAULT_VLINK 0x800080 @@ -154,7 +153,6 @@ static int Prefs_parse_dillorc(void) /* Symbol array, sorted alphabetically */ const SymNode_t symbols[] = { { "allow_white_bg", &prefs.allow_white_bg, PREFS_BOOL }, - { "bg_color", &prefs.bg_color, PREFS_COLOR }, { "buffered_drawing", &prefs.buffered_drawing, PREFS_INT32 }, { "contrast_visited_color", &prefs.contrast_visited_color, PREFS_BOOL }, { "enterpress_forces_submit", &prefs.enterpress_forces_submit, PREFS_BOOL }, @@ -260,7 +258,6 @@ void a_Prefs_init(void) char *old_locale; prefs.allow_white_bg = TRUE; - prefs.bg_color = DW_COLOR_DEFAULT_BGND; prefs.buffered_drawing=1; prefs.contrast_visited_color = TRUE; prefs.enterpress_forces_submit = FALSE; |