Info in "about Leo" pane outdated
Bug #1175652 reported by
Jake Peck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
Medium
|
Edward K. Ream |
Bug Description
Running the command `about-leo` or doing Help -> About Leo reports copyright 1999-2012. That should be 1999-2013. Perhaps the final year could be replaced by `datetime.
Changed in leo-editor: | |
milestone: | none → 4.11-b1 |
assignee: | nobody → Edward K. Ream (edreamleo) |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
The offending code is in:
LeoPy.leo -> Code -> Core Classes -> @file leoCommands.py -> class commands -> Command handlers... -> help menu -> about
The following code *should* fix it:
----
def about (self,event=None):
'''Bring up an About Leo Dialog.'''
import datetime
c = self
# Don't use triple-quoted strings or continued strings here. date.today( ).year) webpages. charter. net/edreamleo/ front.html"
# Doing so would add unwanted leading tabs.
version = g.app.signon + '\n\n'
theCopyright = (
"Copyright 1999-%d by Edward K. Ream\n" +
"All Rights Reserved\n" +
"Leo is distributed under the MIT License" % datetime.
url = "http://
email = "<email address hidden>"
g.app. gui.runAboutLeo Dialog( c,version, theCopyright, url,email)
----