[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev verbose images in options menu
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev verbose images in options menu |
Date: |
Sat, 22 Aug 1998 16:07:02 +0400 (MSD) |
> * From: Laura Eaves <address@hidden>
> * Date: Fri, 21 Aug 1998 14:11:25 -0400 (EDT)
> * Reply-To: address@hidden
> * Sender: address@hidden
> _________________________________________________________________
>
> I was going to add an entry for verbose options (!) on the options screen
...
> If someone is in hte middle of changing options, could this person
> take a few moments to add verbose images to the menu?
> It should have 2 options: ON and OFF, and the internal variable
> to set/unset is verbose_img.
>
dev22 is out, so will be in dev23. The patch is trivial (below).
Now we have the other questions (few more options may be added soon):
- whether to update docs (option_help.html/UserGuide).
This will conflict with old-style options...
- whether to save this new value in .lynxrc (currently not).
diff -u old/lyoption.c ./lyoption.c
--- old/lyoption.c Fri Aug 21 06:30:14 1998
+++ ./lyoption.c Sat Aug 22 15:45:42 1998
@@ -3099,6 +3099,8 @@
static char * raw_mode_string = "raw_mode";
static char * show_color_string = "show_color";
+
+static char * verbose_images_string = "verbose_images";
static char * vi_keys_string = "vi_keys";
@@ -3444,6 +3446,13 @@
}
/*
+ * verbose images mode
+ */
+ if (!strcmp(data[i].tag, verbose_images_string)) {
+ verbose_img = GetOptValues(bool_values, data[i].value);
+ }
+
+ /*
* vi_keys
*/
if (!strcmp(data[i].tag, vi_keys_string)) {
@@ -3829,6 +3838,14 @@
}
EndSelect(fp0);
#endif /* USE_SLANG || COLOR_CURSES */
+
+ /*
+ * verbose images mode
+ */
+ PutLabel(fp0, "Verbose images");
+ BeginSelect(fp0, verbose_images_string);
+ PutOptValues(fp0, verbose_img, bool_values);
+ EndSelect(fp0);
/*
* vi_keys