changeset 986:6d00a9e16696

remove link_color dillorc option To change the color of not visited links add a line like :link {color: orange} to your ~/.dillo/style.css file.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 06 Mar 2009 12:10:38 +0100
parents eee24b6ce034
children 246df486915c
files ChangeLog dillorc src/prefs.c src/prefs.h
diffstat 4 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Mar 06 12:05:21 2009 +0100
+++ b/ChangeLog	Fri Mar 06 12:10:38 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 and force_my_colors dillorc options.
+ - Remove text_color, link_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 12:05:21 2009 +0100
+++ b/dillorc	Fri Mar 06 12:10:38 2009 +0100
@@ -142,11 +142,6 @@
 #                            COLORS SECTION
 #-------------------------------------------------------------------------
 
-# Here we can use the HTML color names or C syntax.
-
-# Set the link color
-#link_color=blue
-
 # If your eyes suffer with white backgrounds, change this.
 #allow_white_bg=YES
 
--- a/src/prefs.c	Fri Mar 06 12:05:21 2009 +0100
+++ b/src/prefs.c	Fri Mar 06 12:10:38 2009 +0100
@@ -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_LINK   0x0000ff
 #define DW_COLOR_DEFAULT_VLINK  0x800080
 
 /*-----------------------------------------------------------------------------
@@ -172,7 +171,6 @@
    { "http_proxyuser", &prefs.http_proxyuser, PREFS_STRING },
    { "http_referer", &prefs.http_referer, PREFS_STRING },
    { "limit_text_width", &prefs.limit_text_width, PREFS_BOOL },
-   { "link_color", &prefs.link_color, PREFS_COLOR },
    { "load_images", &prefs.load_images, PREFS_BOOL },
    { "load_stylesheets", &prefs.load_stylesheets, PREFS_BOOL },
    { "middle_click_drags_page", &prefs.middle_click_drags_page, PREFS_BOOL },
@@ -281,7 +279,6 @@
    prefs.http_proxyuser = NULL;
    prefs.http_referer = dStrdup("host");
    prefs.limit_text_width = FALSE;
-   prefs.link_color = DW_COLOR_DEFAULT_LINK;
    prefs.load_images=TRUE;
    prefs.load_stylesheets=TRUE;
    prefs.middle_click_drags_page = TRUE;
--- a/src/prefs.h	Fri Mar 06 12:05:21 2009 +0100
+++ b/src/prefs.h	Fri Mar 06 12:10:38 2009 +0100
@@ -29,7 +29,6 @@
    char *no_proxy;
    DilloUrl *start_page;
    DilloUrl *home;
-   int32_t link_color;
    int32_t visited_color;
    bool_t allow_white_bg;
    bool_t contrast_visited_color;