Commit 8f790b1f authored by Edward Hervey's avatar Edward Hervey

* pitivi/configure.py.in: (pitivi_version):

* pitivi/ui/mainwindow.py:
Added configure.pitivi_version variable created at compilation so the
version number is coherent.


git-svn-id: svn+ssh://svn.gnome.org/svn/pitivi/trunk@654 d3729300-e425-0410-8a4c-d956edccc248
parent 0cb11d07
2005-07-08 Edward Hervey <edward@fluendo.com>
* pitivi/configure.py.in: (pitivi_version):
* pitivi/ui/mainwindow.py:
Added configure.pitivi_version variable created at compilation so the
version number is coherent.
2005-07-05 Edward Hervey <edward@fluendo.com>
* bin/pitivi.in:
......
......@@ -23,6 +23,7 @@ import os.path
LIBDIR = '@LIBDIR@'
PKGDATADIR = '@DATADIR@/@PACKAGE@'
pitivi_version = '@VERSION@'
def get_pixmap_dir():
dir = os.path.dirname(os.path.abspath(__file__))
......
......@@ -27,8 +27,7 @@ from timeline import TimelineWidget
from sourcefactories import SourceFactoriesWidget
from viewer import PitiviViewer
from projectsettings import ProjectSettingsDialog
PITIVI_VERSION = "0.1.9"
from pitivi.configure import pitivi_version
class PitiviMainWindow(gtk.Window):
"""
......@@ -76,7 +75,7 @@ class PitiviMainWindow(gtk.Window):
def _create_gui(self):
""" Create the graphical interface """
self.set_title("PiTiVi v%s" % PITIVI_VERSION)
self.set_title("PiTiVi v%s" % pitivi_version)
self.set_geometry_hints(min_width=400, min_height=300)
self.connect("destroy", self.destroy)
......@@ -139,9 +138,9 @@ class PitiviMainWindow(gtk.Window):
print "About..."
abt = gtk.AboutDialog()
abt.set_name("PiTiVi")
abt.set_version("v%s" % PITIVI_VERSION)
abt.set_version("v%s" % pitivi_version)
abt.set_website("http://www.pitivi.org/")
authors = ["Edward Hervey" ]
authors = ["Edward Hervey <edward@fluendo.com>" ]
abt.set_authors(authors)
abt.set_license("GNU Lesser Public License\nSee http://www.gnu.org/copyleft/lesser.html for more details")
abt.show()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment