File: 03_459467_ui.leds.enable_0.diff

package info (click to toggle)
elinks 0.13~20190125-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,244 kB
  • sloc: ansic: 102,743; sh: 5,265; python: 3,940; perl: 2,175; makefile: 970; pascal: 930; yacc: 295; lisp: 125; ruby: 70; awk: 65
file content (30 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download | duplicates (2)
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.")),