summaryrefslogtreecommitdiff
path: root/Lib/idlelib/autocomplete_w.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-03-10 20:18:40 -0400
committerGitHub <noreply@github.com>2019-03-10 20:18:40 -0400
commit491ef53c1548c2b593d3c35d1e7bf25ccb443019 (patch)
tree0cf9a3cc3a4057813fc8af4e6a10e7fbec389513 /Lib/idlelib/autocomplete_w.py
parent0e1f1f01058bd4a9b98cfe443214adecc019a38c (diff)
downloadcpython-git-491ef53c1548c2b593d3c35d1e7bf25ccb443019.tar.gz
bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)
Prevent conflicts with Linux dark themes (and slightly darken calltip background).
Diffstat (limited to 'Lib/idlelib/autocomplete_w.py')
-rw-r--r--Lib/idlelib/autocomplete_w.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/autocomplete_w.py b/Lib/idlelib/autocomplete_w.py
index 7994bc0db1..c249625277 100644
--- a/Lib/idlelib/autocomplete_w.py
+++ b/Lib/idlelib/autocomplete_w.py
@@ -189,7 +189,7 @@ class AutoCompleteWindow:
pass
self.scrollbar = scrollbar = Scrollbar(acw, orient=VERTICAL)
self.listbox = listbox = Listbox(acw, yscrollcommand=scrollbar.set,
- exportselection=False, bg="white")
+ exportselection=False)
for item in self.completions:
listbox.insert(END, item)
self.origselforeground = listbox.cget("selectforeground")