From: Barry Warsaw Date: Tue, 6 Oct 1998 18:52:59 +0000 (+0000) Subject: Added version number in the About window X-Git-Tag: v1.5.2a2~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad3a67cc84f446ea79307fa6f58f6d4c64e4f9ac;p=python Added version number in the About window --- diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py index 7c709352c5..dff66c0bf6 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: