Package: elinks / 0.13~20190125-3

03_459467_ui.leds.enable_0.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Set ui.leds.enable to 0 by default for #459467.  No frequent wakeups on
laptops and desktop folks can enable this if they like it.  Patch based
on suggestion from أحمد المحمودي (Ahmed El-Mahmoudy).

Index: elinks/doc/man/man5/elinks.conf.5
===================================================================
--- elinks.orig/doc/man/man5/elinks.conf.5	2017-11-01 01:08:10.671908416 +0100
+++ elinks/doc/man/man5/elinks.conf.5	2017-11-01 01:08:10.671908416 +0100
@@ -2839,7 +2839,7 @@
 .SS "ui\&.leds (LEDs)"
 LEDs (visual indicators) options\&.
 .PP
-ui\&.leds\&.enable \fB[0|1]\fR (default: 1)
+ui\&.leds\&.enable \fB[0|1]\fR (default: 0)
 .RS 4
 Enable LEDs\&. These visual indicators will inform you about various states\&.
 .RE
Index: elinks/src/bfu/leds.c
===================================================================
--- elinks.orig/src/bfu/leds.c	2017-11-01 01:08:10.671908416 +0100
+++ elinks/src/bfu/leds.c	2017-11-01 01:08:10.671908416 +0100
@@ -100,7 +100,7 @@
 		N_("LEDs (visual indicators) options.")),
 
 	INIT_OPT_BOOL("ui.leds", N_("Enable"),
-		"enable", 0, 1,
+		"enable", 0, 0,
 		N_("Enable LEDs. These visual indicators will inform you "
 		"about various states.")),