diff options
author | Just van Rossum <just@lettererror.com> | 2000-03-28 13:57:34 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 2000-03-28 13:57:34 (GMT) |
commit | f51872733c81226cd2afc09cdce6db46d626e73b (patch) | |
tree | 7c95661c81763e69ef9a65e2ad781f2ef3a8629f /Mac/Lib | |
parent | 4011723d0d27d96dc82cf42b31576929522477b6 (diff) | |
download | cpython-f51872733c81226cd2afc09cdce6db46d626e73b.zip cpython-f51872733c81226cd2afc09cdce6db46d626e73b.tar.gz cpython-f51872733c81226cd2afc09cdce6db46d626e73b.tar.bz2 |
Added getaboutmenutext() method. (jvr)
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/lib-toolbox/MiniAEFrame.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Lib/lib-toolbox/MiniAEFrame.py b/Mac/Lib/lib-toolbox/MiniAEFrame.py index e57d78e..3077150 100644 --- a/Mac/Lib/lib-toolbox/MiniAEFrame.py +++ b/Mac/Lib/lib-toolbox/MiniAEFrame.py @@ -35,7 +35,7 @@ class MiniApplication: self.quitid = 2 Menu.ClearMenuBar() self.applemenu = applemenu = Menu.NewMenu(self.appleid, "\024") - applemenu.AppendMenu("About %s...;(-" % self.__class__.__name__) + applemenu.AppendMenu("%s;(-" % self.getaboutmenutext()) applemenu.AppendResMenu('DRVR') applemenu.InsertMenu(0) self.quitmenu = Menu.NewMenu(self.quitid, "File") @@ -104,6 +104,9 @@ class MiniApplication: def getabouttext(self): return self.__class__.__name__ + + def getaboutmenutext(self): + return "About %s\311" % self.__class__.__name__ class AEServer: |