[pitivi] Use the new GTK3 features for the About/credits dialog



commit 1d35ad3689cb9a756e410a300b37828c3b5b1ce5
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Mon Jul 30 23:53:21 2012 +0200

    Use the new GTK3 features for the About/credits dialog

 pitivi/mainwindow.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index ca09ce2..face4fb 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -634,8 +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")
+            abt.set_version(_("Development version"))
         else:
             abt.set_version(pitivi_version)
         abt.set_website(APPURL)
@@ -675,8 +674,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
         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_license_type(gtk.License.LGPL_2_1)
         abt.set_icon_name("pitivi")
         abt.set_logo_icon_name("pitivi")
         abt.connect("response", self._aboutResponseCb)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]