[pitivi] Make the about dialog's credits future-proof
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Make the about dialog's credits future-proof
- Date: Mon, 30 Jul 2012 13:14:45 +0000 (UTC)
commit 2c9e8f56078e15b8c8580e5fe97f2efac263e073
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Mon Jul 16 23:56:47 2012 -0400
Make the about dialog's credits future-proof
Simply list the maintainers, and point to dynamically generated
lists of contributors instead of hardcoding them. That list was
badly outdated anyway.
pitivi/mainwindow.py | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 88f2123..999b780 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -634,6 +634,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
abt = gtk.AboutDialog()
abt.set_name(APPNAME)
if in_devel:
+ # TODO GTK3: use this string instead: _("Development version")
abt.set_version("git")
else:
abt.set_version(pitivi_version)
@@ -651,27 +652,30 @@ class PitiviMainWindow(gtk.Window, Loggable):
(ges_version_str, pygst_version_str, gst_version_str, version_str))
else:
abt.set_comments("%s\n%s\n%s" % (ges_version_str, pygst_version_str, gst_version_str))
- authors = ["Edward Hervey <bilboed bilboed com>",
- "Alessandro Decina <alessandro decina collabora co uk>",
- "Brandon Lewis <brandon_lewis berkeley edu> (UI)",
- "Jean-FranÃois Fortin Tam <nekohayo gmail com> (UI)",
+ authors = [_("Current maintainers:"),
+ "Jean-FranÃois Fortin Tam <nekohayo gmail com>",
"Thibault Saunier <thibault saunier collabora com>",
"",
- _("Contributors:"),
- "Christophe Sauthier <christophe sauthier gmail com> (i18n)",
- "Laszlo Pandy <laszlok2 gmail com> (UI)",
- "Ernst Persson <ernstp gmail com>",
- "Richard Boulton <richard tartarus org>",
- "Thibaut Girka <thibaut girka free fr> (UI)",
- "Johan Dahlin <jdahlin async com br> (UI)",
- "Luca Della Santina <dellasantina farm unipi it>",
- "Thijs Vermeir <thijsvermeir gmail com>",
- "Sarath Lakshman <sarathlakshman slynux org>",
- "Alex Balut <alexandru balut gmail com>"]
+ _("Past maintainers:"),
+ "Edward Hervey <bilboed bilboed com>",
+ "Alessandro Decina <alessandro decina collabora co uk>",
+ "Brandon Lewis <brandon_lewis berkeley edu>",
+ "",
+ _("Contributors:\n" +
+ "A handwritten list here would...\n" +
+ "â be too long,\n" +
+ "â be frequently outdated,\n" +
+ "â not show their relative merit.\n\n" +
+ "Out of respect for our contributors, we point you instead to:\n" +
+ "http://ohloh.net/p/pitivi/contributors\n" +
+ "Or you can run: git shortlog -s -n"), ]
abt.set_authors(authors)
translators = _("translator-credits")
if translators != "translator-credits":
abt.set_translator_credits(translators)
+ documenters = ["Jean-FranÃois Fortin Tam <nekohayo gmail com>", ]
+ abt.set_documenters(documenters)
+ # TODO GTK3: use set_license_type instead
abt.set_license(_("GNU Lesser General Public License\n"
"See http://www.gnu.org/copyleft/lesser.html for more details"))
abt.set_icon_name("pitivi")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]