summaryrefslogtreecommitdiffstats
path: root/Tools/pynche
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-10-06 18:52:59 (GMT)
committerBarry Warsaw <barry@python.org>1998-10-06 18:52:59 (GMT)
commitad3a67cc84f446ea79307fa6f58f6d4c64e4f9ac (patch)
treea807f1ced1c15ec46312859b2e09e839731967c2 /Tools/pynche
parent3a476e9b356309ca50f8fa7c993534f96f6701cb (diff)
downloadcpython-ad3a67cc84f446ea79307fa6f58f6d4c64e4f9ac.zip
cpython-ad3a67cc84f446ea79307fa6f58f6d4c64e4f9ac.tar.gz
cpython-ad3a67cc84f446ea79307fa6f58f6d4c64e4f9ac.tar.bz2
Added version number in the About window
Diffstat (limited to 'Tools/pynche')
-rw-r--r--Tools/pynche/PyncheWidget.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py
index 7c70935..dff66c0 100644
--- a/Tools/pynche/PyncheWidget.py
+++ b/Tools/pynche/PyncheWidget.py
@@ -89,10 +89,12 @@ class PyncheWidget:
return self.__root
def __popup_about(self, event=None):
- tkMessageBox.showinfo('About Pynche 1.0',
+ from pynche import __version__
+ tkMessageBox.showinfo('About Pynche ' + __version__,
'''\
-Pynche -- the PYthonically
-Natural Color and Hue Editor
+Pynche %s
+The PYthonically Natural
+Color and Hue Editor
Copyright (C) 1998
Barry A. Warsaw
@@ -100,7 +102,7 @@ All rights reserved
For information about Pynche
contact: Barry A. Warsaw
-email: bwarsaw@python.org''')
+email: bwarsaw@python.org''' % __version__)
def __popup_text(self, event=None):
if not self.__textwin: