aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--dillorc5
-rw-r--r--src/prefs.c3
-rw-r--r--src/prefs.h1
4 files changed, 1 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 53d80b59..ae99689c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -66,7 +66,7 @@ dillo-2.1
- 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
diff --git a/dillorc b/dillorc
index fe4539d1..1a839f5b 100644
--- a/dillorc
+++ b/dillorc
@@ -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
diff --git a/src/prefs.c b/src/prefs.c
index 0419d9b7..76200470 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_LINK 0x0000ff
#define DW_COLOR_DEFAULT_VLINK 0x800080
/*-----------------------------------------------------------------------------
@@ -172,7 +171,6 @@ static int Prefs_parse_dillorc(void)
{ "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 @@ void a_Prefs_init(void)
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;
diff --git a/src/prefs.h b/src/prefs.h
index 048ce6fc..955515bb 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -29,7 +29,6 @@ struct _DilloPrefs {
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;