From 3b4b086bdfdafecc1154e999ac7cc0854da35bb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ana=C3=ABl=20Verrier?= <elghinn@free.fr>
Date: Thu, 9 Jul 2009 14:34:51 +0200
Subject: [PATCH] * the good version is not 0.12.1.6-hg but 0.12.3.1-dev

---
 configure.ac            | 2 +-
 src/common/defs.py      | 2 +-
 src/common/optparser.py | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index b4e09eeb08..9730c0d382 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_INIT([Gajim - A Jabber Instant Messager],
-		[0.12.1.5-svn],[http://trac.gajim.org/],[gajim])
+		[0.12.3.1-dev],[http://trac.gajim.org/],[gajim])
 AC_PREREQ([2.59])
 
 AC_CONFIG_HEADER(config.h)
diff --git a/src/common/defs.py b/src/common/defs.py
index 6a1b8438f4..c321440d0c 100644
--- a/src/common/defs.py
+++ b/src/common/defs.py
@@ -27,7 +27,7 @@ docdir = '../'
 datadir = '../'
 localedir = '../po'
 
-version = '0.12.1.6-hg'
+version = '0.12.3.1-dev'
 
 import sys, os.path
 for base in ('.', 'common'):
diff --git a/src/common/optparser.py b/src/common/optparser.py
index 6907dc4b9d..de887eb85c 100644
--- a/src/common/optparser.py
+++ b/src/common/optparser.py
@@ -198,8 +198,8 @@ class OptionsParser:
 			self.update_config_to_01214()
 		if old < [0, 12, 1, 5] and new >= [0, 12, 1, 5]:
 			self.update_config_to_01215()
-		if old < [0, 12, 1, 6] and new >= [0, 12, 1, 6]:
-			self.update_config_to_01216()
+		if old < [0, 12, 3, 1] and new >= [0, 12, 3, 1]:
+			self.update_config_to_01231()
 
 		gajim.logger.init_vars()
 		gajim.config.set('version', new_version)
@@ -673,7 +673,7 @@ class OptionsParser:
 			gajim.config.set_per('soundevents', evt, 'path', path)
 		gajim.config.set('version', '0.12.1.5')
 
-	def update_config_to_01216(self):
+	def update_config_to_01231(self):
 		back = os.getcwd()
 		os.chdir(logger.LOG_DB_FOLDER)
 		con = sqlite.connect(logger.LOG_DB_FILE)
@@ -703,7 +703,7 @@ class OptionsParser:
 		except sqlite.OperationalError:
 			pass
 		con.close()
-		gajim.config.set('version', '0.12.1.6')
+		gajim.config.set('version', '0.12.3.1')
 
 
 
-- 
GitLab