Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Lib/idlelib/NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ Released on 2019-??-??
======================================


bpl-36152: Remove colorizer.ColorDelegator.close_when_done and the
bpo-36176: Fix IDLE autocomplete & calltip popup colors.
Prevent conflicts with Linux dark themes
(and slightly darken calltip background).

bpo-36152: Remove colorizer.ColorDelegator.close_when_done and the
corresponding argument of .close(). In IDLE, both have always been
None or False since 2007.

Expand Down
2 changes: 1 addition & 1 deletion Lib/idlelib/autocomplete_w.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def show_window(self, comp_lists, index, complete, mode, userWantsWin):
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")
Expand Down
3 changes: 2 additions & 1 deletion Lib/idlelib/calltip_w.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def showtip(self, text, parenleft, parenright):
def showcontents(self):
"""Create the call-tip widget."""
self.label = Label(self.tipwindow, text=self.text, justify=LEFT,
background="#ffffe0", relief=SOLID, borderwidth=1,
background="#ffffd0", foreground="black",
relief=SOLID, borderwidth=1,
font=self.anchor_widget['font'])
self.label.pack()

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix IDLE autocomplete & calltip popup colors. Prevent conflicts with Linux
dark themes (and slightly darken calltip background).