Commit c3cb1b6a authored by Thibault Saunier's avatar Thibault Saunier

Release 0.97.1

Making sure the version appears correctly in the about dialog
parent cdb6d133
......@@ -89,4 +89,5 @@ def configure_meson():
if __name__ == "__main__":
configure_meson()
install_pre_commit_hook()
if os.path.exists(os.path.join(ROOTDIR, ".git")):
install_pre_commit_hook()
project('pitivi', 'c', version: '0.97')
project('pitivi', 'c', version: '0.97.1')
python = find_program('python3')
intltool_merge = find_program('intltool-merge')
......
......@@ -37,6 +37,7 @@ from pitivi.configure import get_pixmap_dir
from pitivi.configure import get_ui_dir
from pitivi.configure import GITVERSION
from pitivi.configure import in_devel
from pitivi.configure import VERSION
from pitivi.dialogs.prefs import PreferencesDialog
from pitivi.effects import EffectListWidget
from pitivi.mediafilespreviewer import PreviewWidget
......@@ -609,8 +610,10 @@ class MainWindow(Gtk.ApplicationWindow, Loggable):
version_str = _("Version %(cur_ver)s — %(new_ver)s is available" %
{"cur_ver": GITVERSION,
"new_ver": self.app.getLatest()})
else:
elif GITVERSION:
version_str = _("Version %s" % GITVERSION)
else:
version_str = _("Version %s" % VERSION)
abt.set_version(version_str)
comments = ["",
......
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