summaryrefslogtreecommitdiffstats
path: root/Tools/pynche/PyncheWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pynche/PyncheWidget.py')
-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: