gnome-specimen r64 - in trunk-from-bzr: . specimen



Author: wbolster
Date: Tue Jun 17 18:42:19 2008
New Revision: 64
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=64&view=rev

Log:
* Display program version in the about box


Modified:
   trunk-from-bzr/   (props changed)
   trunk-from-bzr/specimen/specimenwindow.py

Modified: trunk-from-bzr/specimen/specimenwindow.py
==============================================================================
--- trunk-from-bzr/specimen/specimenwindow.py	(original)
+++ trunk-from-bzr/specimen/specimenwindow.py	Tue Jun 17 18:42:19 2008
@@ -586,6 +586,7 @@
 
         except (AttributeError):
             name = _('GNOME Specimen')
+            version = config.VERSION
             comments = _('Preview and compare fonts')
             copyright = u'Copyright \u00A9 2006 Wouter Bolsterlee'
             authors = ['Wouter Bolsterlee (wbolster gnome org)']
@@ -595,6 +596,7 @@
             self.about_dialog = gtk.AboutDialog()
             self.about_dialog.set_transient_for(self.window)
             self.about_dialog.set_name(name)
+            self.about_dialog.set_version(version)
             self.about_dialog.set_comments(comments)
             self.about_dialog.set_copyright(copyright)
             self.about_dialog.set_authors(authors)



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