From 94f44aa56a1cfc4c7cfdc8aa9574e1a2402e3772 Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 3 Sep 2009 18:42:54 +0000 Subject: don't make prefs defaults visible unnecessarily --- src/prefs.c | 12 ++++++++++++ src/prefs.h | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/prefs.c b/src/prefs.c index 798729f4..e65d8e1a 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -11,6 +11,18 @@ #include "prefs.h" +#define PREFS_START_PAGE "about:splash" +#define PREFS_HOME "http://www.dillo.org/" +#define PREFS_FONT_SERIF "DejaVu Serif" +#define PREFS_FONT_SANS_SERIF "DejaVu Sans" +#define PREFS_FONT_CURSIVE "DejaVu Sans" /* TODO: find good default */ +#define PREFS_FONT_FANTASY "DejaVu Sans" /* TODO: find good default */ +#define PREFS_FONT_MONOSPACE "DejaVu Sans Mono" +#define PREFS_SEARCH_URL "http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s" +#define PREFS_NO_PROXY "localhost 127.0.0.1" +#define PREFS_SAVE_DIR "/tmp/" +#define PREFS_HTTP_REFERER "host" + /*----------------------------------------------------------------------------- * Global Data *---------------------------------------------------------------------------*/ diff --git a/src/prefs.h b/src/prefs.h index 9067b564..f3e0a977 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -22,17 +22,6 @@ extern "C" { #define PREFS_GEOMETRY_DEFAULT_HEIGHT 580 #define PREFS_GEOMETRY_DEFAULT_XPOS -9999 #define PREFS_GEOMETRY_DEFAULT_YPOS -9999 -#define PREFS_START_PAGE "about:splash" -#define PREFS_HOME "http://www.dillo.org/" -#define PREFS_FONT_SERIF "DejaVu Serif" -#define PREFS_FONT_SANS_SERIF "DejaVu Sans" -#define PREFS_FONT_CURSIVE "DejaVu Sans" /* TODO: find good default */ -#define PREFS_FONT_FANTASY "DejaVu Sans" /* TODO: find good default */ -#define PREFS_FONT_MONOSPACE "DejaVu Sans Mono" -#define PREFS_SEARCH_URL "http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s" -#define PREFS_NO_PROXY "localhost 127.0.0.1" -#define PREFS_SAVE_DIR "/tmp/" -#define PREFS_HTTP_REFERER "host" /* Panel sizes */ enum { P_tiny = 0, P_small, P_medium, P_large }; -- cgit v1.2.3