diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-09 23:43:44 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-09 23:43:44 +0200 |
commit | d8c4bacde00e2be0e5d5aaf7f85f139aae6a95d6 (patch) | |
tree | 12f088e6c07b690cccbcc073b744dc5760713918 /portato/gui/windows/about.py | |
parent | 3cc84485184c1662fabb53f35df43a539021ff93 (diff) | |
parent | 359309950a1283dbbf9df6ce1085838087cfc262 (diff) | |
download | portato-no_config.tar.gz portato-no_config.tar.bz2 portato-no_config.zip |
Merge branch 'master' into no_config to pickup the recent changes andno_config
fixes.
Conflicts:
portato/db/__init__.py
portato/session.py
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/about.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/portato/gui/windows/about.py b/portato/gui/windows/about.py index a15fd24..0d2ce1a 100644 --- a/portato/gui/windows/about.py +++ b/portato/gui/windows/about.py @@ -10,12 +10,13 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from __future__ import absolute_import +from __future__ import absolute_import, with_statement +import os import gtk from .basic import AbstractDialog -from ...constants import VERSION, REVISION +from ...constants import VERSION, REVISION, DATA_DIR class AboutWindow (AbstractDialog): """A window showing the "about"-informations.""" @@ -27,6 +28,9 @@ class AboutWindow (AbstractDialog): self.window.set_version(VERSION) self.window.set_logo(None) + with open(os.path.join(DATA_DIR, "TRANSLATORS")) as f: + self.window.set_translator_credits("".join(f.readlines())) + if REVISION: gitlabel = self.tree.get_widget("gitLabel") gitlabel.set_label(REVISION) |