git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23dfd91
)
kconfig: lxdialog: fix button color for blackbg theme
author
Masahiro Yamada
<masahiroy@kernel.org>
Sun, 10 Mar 2024 13:32:57 +0000
(22:32 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 18 Mar 2024 17:30:51 +0000
(
02:30
+0900)
For MENUCONFIG_COLOR=blackbg, the text in inactive buttons is invisible
because both the foreground and background are black.
Change the foreground color to white and remove the highlighting.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/lxdialog/util.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/lxdialog/util.c
b/scripts/kconfig/lxdialog/util.c
index 3f78fb265136381c8b4dbdc1b611f2d4d47d7548..d5315315b066748ec881c0939b612d2bc9162ff6 100644
(file)
--- a/
scripts/kconfig/lxdialog/util.c
+++ b/
scripts/kconfig/lxdialog/util.c
@@
-101,7
+101,7
@@
static void set_blackbg_theme(void)
DLG_COLOR(button_key_active, COLOR_YELLOW, COLOR_RED, true);
DLG_COLOR(button_key_inactive, COLOR_RED, COLOR_BLACK, false);
DLG_COLOR(button_label_active, COLOR_WHITE, COLOR_RED, false);
- DLG_COLOR(button_label_inactive, COLOR_
BLACK, COLOR_BLACK, tru
e);
+ DLG_COLOR(button_label_inactive, COLOR_
WHITE, COLOR_BLACK, fals
e);
DLG_COLOR(inputbox, COLOR_YELLOW, COLOR_BLACK, false);
DLG_COLOR(inputbox_border, COLOR_YELLOW, COLOR_BLACK, false);