diff options
author | jcid <devnull@localhost> | 2007-10-29 15:51:30 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-10-29 15:51:30 +0100 |
commit | 2fca0769dca44c7d105fbb3b8d23369be5f7a600 (patch) | |
tree | 8f6e77a8539f706a5f081acea95ef4fd88460ac8 /src/prefs.c | |
parent | 4c6e82430a895d577d3767ef12fccff27922ac25 (diff) |
- Hooked "Activate" to the form_receiver.
- Connected the plain page context menu.
- Added code for the image menu (not hooked yet though).
- Added a image-loading toggle button to the UI (not functional yet).
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c index 1d5e6053..a76dd547 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -63,6 +63,7 @@ SymNode_t symbols[] = { { "http_proxyuser", DRC_TOKEN_PROXYUSER }, { "limit_text_width", DRC_TOKEN_LIMIT_TEXT_WIDTH }, { "link_color", DRC_TOKEN_LINK_COLOR }, + { "load_images", DRC_TOKEN_LOAD_IMAGES }, { "no_proxy", DRC_TOKEN_NOPROXY }, { "panel_size", DRC_TOKEN_PANEL_SIZE }, { "search_url", DRC_TOKEN_SEARCH_URL }, @@ -282,6 +283,9 @@ static int Prefs_parse_pair(char *name, char *value) case DRC_TOKEN_FULLWINDOW_START: prefs.fullwindow_start = (strcmp(value, "YES") == 0); break; + case DRC_TOKEN_LOAD_IMAGES: + prefs.load_images = (strcmp(value, "YES") == 0); + break; case DRC_TOKEN_TRANSIENT_DIALOGS: prefs.transient_dialogs = (strcmp(value, "YES") == 0); break; @@ -397,6 +401,7 @@ void a_Prefs_init(void) prefs.show_search=TRUE; prefs.show_progress_box=TRUE; prefs.fullwindow_start=FALSE; + prefs.load_images=TRUE; prefs.transient_dialogs=FALSE; prefs.vw_fontname = dStrdup("helvetica"); prefs.fw_fontname = dStrdup("courier"); |