activate new about dialog for testing

This commit is contained in:
Steven M. Gava 2001-07-31 07:01:47 +00:00
parent 646c65c117
commit 7d9ed726fb

View file

@ -17,6 +17,7 @@ import webbrowser
import idlever import idlever
import WindowList import WindowList
from IdleConf import idleconf from IdleConf import idleconf
import aboutDialog
# The default tab setting for a Text widget, in average-width characters. # The default tab setting for a Text widget, in average-width characters.
TK_TABWIDTH_DEFAULT = 8 TK_TABWIDTH_DEFAULT = 8
@ -88,7 +89,7 @@ by Guido van Rossum.
IDLEfork is an official experimental development version of IDLE. \ IDLEfork is an official experimental development version of IDLE. \
Succesful new features in IDLEfork will be mereged back in to stable IDLE. Succesful new features in IDLEfork will be mereged back in to stable IDLE.
This version of IDLEfork is based on the work in stable IDLE version %s, \ This version of IDLEfork is based on the work in stable IDLE version 0.8, \
IDLE fork 0.7.1 released by David Scherer, and the VPython idle fork. IDLE fork 0.7.1 released by David Scherer, and the VPython idle fork.
See README.txt and NEWS.txt for more details on this verion of IDLEfork. See README.txt and NEWS.txt for more details on this verion of IDLEfork.
@ -96,7 +97,7 @@ See README.txt and NEWS.txt for more details on this verion of IDLEfork.
WARNING: IDLEfork is at this stage alpha quality software, expect things \ WARNING: IDLEfork is at this stage alpha quality software, expect things \
to be broken. to be broken.
""" % (idlever.IDLEFORK_VERSION, idlever.IDLE_VERSION) """ % (idlever.IDLE_VERSION)
class EditorWindow: class EditorWindow:
@ -296,8 +297,9 @@ class EditorWindow:
self.rmenu = rmenu self.rmenu = rmenu
def about_dialog(self, event=None): def about_dialog(self, event=None):
tkMessageBox.showinfo(self.about_title, self.about_text, #tkMessageBox.showinfo(self.about_title, self.about_text,
master=self.text) # master=self.text)
aboutDialog.AboutDialog(self.top,'About IDLEfork')
helpfile = "help.txt" helpfile = "help.txt"