summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configdialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-07-21 07:47:01 (GMT)
committerGitHub <noreply@github.com>2017-07-21 07:47:01 (GMT)
commit7c5798ebfa9b822d6cedf1fc8c034f6ea90644dc (patch)
treee4902d3e82708abdeac7e4052e8f985d2a9c0270 /Lib/idlelib/configdialog.py
parentd0969d69245d9c4eea3498ba4bde4b4cd676ad7f (diff)
downloadcpython-7c5798ebfa9b822d6cedf1fc8c034f6ea90644dc.zip
cpython-7c5798ebfa9b822d6cedf1fc8c034f6ea90644dc.tar.gz
cpython-7c5798ebfa9b822d6cedf1fc8c034f6ea90644dc.tar.bz2
bpo-30981: temporarity skip failing IDLE test class (#2798)
Diffstat (limited to 'Lib/idlelib/configdialog.py')
-rw-r--r--Lib/idlelib/configdialog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py
index 8356235..59822fc 100644
--- a/Lib/idlelib/configdialog.py
+++ b/Lib/idlelib/configdialog.py
@@ -180,7 +180,7 @@ class ConfigDialog(Toplevel):
frame_font_param: Frame
font_size_title: Label
(*)opt_menu_font_size: DynOptionMenu - font_size
- bold_toggle: Checkbutton - font_bold
+ (*)bold_toggle: Checkbutton - font_bold
frame_font_sample: Frame
(*)font_sample: Label
frame_indent: LabelFrame
@@ -218,7 +218,7 @@ class ConfigDialog(Toplevel):
font_size_title = Label(frame_font_param, text='Size :')
self.opt_menu_font_size = DynOptionMenu(
frame_font_param, self.font_size, None, command=self.set_samples)
- bold_toggle = Checkbutton(
+ self.bold_toggle = Checkbutton(
frame_font_param, variable=self.font_bold, onvalue=1,
offvalue=0, text='Bold', command=self.set_samples)
frame_font_sample = Frame(frame_font, relief=SOLID, borderwidth=1)
@@ -246,7 +246,7 @@ class ConfigDialog(Toplevel):
scroll_font.pack(side=LEFT, fill=Y)
font_size_title.pack(side=LEFT, anchor=W)
self.opt_menu_font_size.pack(side=LEFT, anchor=W)
- bold_toggle.pack(side=LEFT, anchor=W, padx=20)
+ self.bold_toggle.pack(side=LEFT, anchor=W, padx=20)
frame_font_sample.pack(side=TOP, padx=5, pady=5, expand=TRUE, fill=BOTH)
self.font_sample.pack(expand=TRUE, fill=BOTH)
# frame_indent