Show
Ignore:
Timestamp:
01/13/07 23:35:41 (23 months ago)
Author:
asterix
Message:

merge diff from trunc to 0.11 branch

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11/src/common/optparser.py

    r7787 r7829  
    1414 
    1515import os 
    16 import sys 
    1716import locale 
    1817from common import gajim 
     
    151150                if old < [0, 10, 1, 8] and new >= [0, 10, 1, 8]: 
    152151                        self.update_config_to_01018() 
     152                if old < [0, 11, 0, 1] and new >= [0, 11, 0, 1]: 
     153                        self.update_config_to_01101() 
    153154 
    154155                gajim.logger.init_vars() 
     
    368369                                 self.old_values['chat_state_notifications']) 
    369370                gajim.config.set('version', '0.10.1.8') 
     371 
     372        def update_config_to_01101(self): 
     373                '''fill time_stamp from before_time and after_time''' 
     374                if self.old_values.has_key('before_time'): 
     375                        gajim.config.set('time_stamp', '%s%%H:%%M%s ' % ( 
     376                                self.old_values['before_time'], self.old_values['after_time'])) 
     377                gajim.config.set('version', '0.11.0.1')