@@ -85,15 +85,18 @@ def create_widgets(self):
8585 byline = Label (frame_background , text = byline_text , justify = LEFT ,
8686 fg = self .fg , bg = self .bg )
8787 byline .grid (row = 2 , column = 0 , sticky = W , columnspan = 3 , padx = 10 , pady = 5 )
88- email = Label (frame_background , text = 'email: idle-dev@python.org' ,
89- justify = LEFT , fg = self .fg , bg = self .bg )
90- email .grid (row = 6 , column = 0 , columnspan = 2 , sticky = W , padx = 10 , pady = 0 )
88+
89+ forums_url = "https://discuss.python.org"
90+ forums = Label (frame_background , text = "Python forums: " + forums_url ,
91+ justify = LEFT , fg = self .fg , bg = self .bg )
92+ forums .grid (row = 6 , column = 0 , sticky = W , padx = 10 , pady = 0 )
93+ forums .bind ("<Button-1>" , lambda event : webbrowser .open (forums_url ))
9194 docs_url = ("https://docs.python.org/%d.%d/library/idle.html" %
9295 sys .version_info [:2 ])
9396 docs = Label (frame_background , text = docs_url ,
9497 justify = LEFT , fg = self .fg , bg = self .bg )
9598 docs .grid (row = 7 , column = 0 , columnspan = 2 , sticky = W , padx = 10 , pady = 0 )
96- docs .bind ("<Button-1>" , lambda event : webbrowser .open (docs [ 'text' ] ))
99+ docs .bind ("<Button-1>" , lambda event : webbrowser .open (docs_url ))
97100
98101 Frame (frame_background , borderwidth = 1 , relief = SUNKEN ,
99102 height = 2 , bg = self .bg ).grid (row = 8 , column = 0 , sticky = EW ,
@@ -123,9 +126,7 @@ def create_widgets(self):
123126 height = 2 , bg = self .bg ).grid (row = 11 , column = 0 , sticky = EW ,
124127 columnspan = 3 , padx = 5 , pady = 5 )
125128
126- idle = Label (frame_background ,
127- text = 'IDLE' ,
128- fg = self .fg , bg = self .bg )
129+ idle = Label (frame_background , text = 'IDLE' , fg = self .fg , bg = self .bg )
129130 idle .grid (row = 12 , column = 0 , sticky = W , padx = 10 , pady = 0 )
130131 idle_buttons = Frame (frame_background , bg = self .bg )
131132 idle_buttons .grid (row = 13 , column = 0 , columnspan = 3 , sticky = NSEW )
0 commit comments