Display release date in about dialog.

This commit is contained in:
Bastian Kleineidam 2011-05-05 18:30:58 +02:00
parent 6b5264657b
commit f8cba79875
3 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,8 @@ Changes:
user.
- gui: While checking, show new URLs added in the URL list view by
scrolling down.
- gui: Display release date in about dialog.
Closes: SF bug #3297255
Features:
- gui: Add syntax highlighting for Qt editor in case QScintilla

View file

@ -32,6 +32,7 @@ from . import confparse
from ..decorators import memoized
Version = configdata.version
ReleaseDate = configdata.release_date
AppName = configdata.appname
App = AppName+u" "+Version
Author = configdata.author

View file

@ -256,10 +256,12 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
"donateurl": configuration.DonateUrl,
"pyver": u"%d.%d.%d" % sys.version_info[:3],
"modules": modules,
"releasedate": configuration.ReleaseDate,
}
QtGui.QMessageBox.about(self, _(u"About %(appname)s") % d,
_(u"""<qt><center>
<h1>%(app)s</h1>
<p>Released on %(releasedate)s
<p>Python: %(pyver)s<br>
%(modules)s
<p>%(copyright)s