Mercurial > dillo_port1.3
changeset 985:eee24b6ce034
remove force_my_colors dillorc option
to get a similar behaviour add the !important directive to your color
definitions in ~/.dillo/style.css, e.g:
body {background-color: green !important}
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> |
---|---|
date | Fri, 06 Mar 2009 12:05:21 +0100 |
parents | 636142442de2 |
children | 6d00a9e16696 |
files | ChangeLog dillorc src/prefs.c src/prefs.h |
diffstat | 4 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Mar 06 11:59:18 2009 +0100 +++ b/ChangeLog Fri Mar 06 12:05:21 2009 +0100 @@ -66,7 +66,7 @@ - Add workaround for fltk bug #2062. - Reduce number of styleEngine::style0() calls. - Replace bg_color dillorc option. - - Remove text_color dillorc option. + - Remove text_color and force_my_colors dillorc options. Patches: Johannes Hofmann +- Updated the GPL copyright note in the source files. Patch: Detlef Riekenberg
--- a/dillorc Fri Mar 06 11:59:18 2009 +0100 +++ b/dillorc Fri Mar 06 12:05:21 2009 +0100 @@ -150,9 +150,6 @@ # If your eyes suffer with white backgrounds, change this. #allow_white_bg=YES -# Use the same colors with all documents? -#force_my_colors=NO - # When set to YES, the page author's visited link color may be overridden # to allow better contrast with text/links/background #contrast_visited_color=YES
--- a/src/prefs.c Fri Mar 06 11:59:18 2009 +0100 +++ b/src/prefs.c Fri Mar 06 12:05:21 2009 +0100 @@ -164,7 +164,6 @@ { "font_monospace", &prefs.font_monospace, PREFS_STRING }, { "font_sans_serif", &prefs.font_sans_serif, PREFS_STRING }, { "font_serif", &prefs.font_serif, PREFS_STRING }, - { "force_my_colors", &prefs.force_my_colors, PREFS_BOOL }, { "fullwindow_start", &prefs.fullwindow_start, PREFS_BOOL }, { "geometry", NULL, PREFS_GEOMETRY }, { "home", &prefs.home, PREFS_URL }, @@ -268,7 +267,6 @@ prefs.font_monospace = dStrdup(D_FONT_MONOSPACE); prefs.font_sans_serif = dStrdup(D_FONT_SANS_SERIF); prefs.font_serif = dStrdup(D_FONT_SERIF); - prefs.force_my_colors = FALSE; prefs.fullwindow_start=FALSE; /* these four constitute the geometry */