From 8ed37983e6a0275326fc3de1232fabd4d87df93e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 2 Jun 2006 11:21:05 +0000 Subject: [PATCH] print_status_in_muc changement won't be in 0.10.1 --- src/common/optparser.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/common/optparser.py b/src/common/optparser.py index e2167c2c4..b4343a1ea 100644 --- a/src/common/optparser.py +++ b/src/common/optparser.py @@ -142,8 +142,8 @@ class OptionsParser: self.update_config_x_to_09() if old < [0, 10] and new >= [0, 10]: self.update_config_09_to_010() - if old < [0, 10, 0, 1] and new >= [0, 10, 0, 1]: - self.update_config_to_01001() + if old < [0, 10, 1, 1] and new >= [0, 10, 1, 1]: + self.update_config_to_01011() def update_config_x_to_09(self): # Var name that changed: @@ -258,6 +258,7 @@ class OptionsParser: gajim.config.set('version', '0.10') - def update_config_to_01001(self): - gajim.config.set('print_status_in_muc', 'in_and_out') - gajim.config.set('version', '0.10.0.1') + def update_config_to_01011(self): + if self.old_values['print_status_in_muc'] in (True, False): + gajim.config.set('print_status_in_muc', 'in_and_out') + gajim.config.set('version', '0.10.1.1')