~jtaylor/ubuntu/oneiric/gajim/multiple-CVE

« back to all changes in this revision

Viewing changes to src/common/optparser.py

  • Committer: Bazaar Package Importer
  • Author(s): Nafallo Bjälevik
  • Date: 2009-06-12 13:49:19 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090612134919-basez34an73qkkb1
Tags: 0.12.2-0ubuntu1
* New upstream bugfix release:
  + Better keepalive / ping behaviour
  + Fix custom port handling
  + Improve error messages handling
  + Totem support for played music
  + Fix SSL with some servers
  + Handle XFCE notification-daemon
  + Restore old behaviour of click on systray: left click to open events
  + Network manager 0.7 support
  + Improve Kerberos support
  + Many bugfixes here and there
  + Add -c option to history_manager
* debian/patches/00list:
  - Disable de-update.patch, since it doesn't apply
  - Drop svn-11058.patch since it is included in the new release
* debian/patches/svn-11058.patch:
  - Drop patch since it is included in the new release
* debian/control:
  - Bump required version for intltool as per upstream's requirements

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
                        self.update_config_to_01143()
186
186
                if old < [0, 11, 4, 4] and new >= [0, 11, 4, 4]:
187
187
                        self.update_config_to_01144()
 
188
                if old < [0, 12, 1, 2] and new >= [0, 12, 1, 2]:
 
189
                        self.update_config_to_01212()
188
190
 
189
191
                gajim.logger.init_vars()
190
192
                gajim.config.set('version', new_version)
599
601
                con.close()
600
602
                gajim.config.set('version', '0.11.4.4')
601
603
 
 
604
        def update_config_to_01212(self):
 
605
                for opt in ('ignore_unknown_contacts', 'send_os_info',
 
606
                'log_encrypted_sessions'):
 
607
                        if opt in self.old_values:
 
608
                                val = self.old_values[opt]
 
609
                                for account in gajim.config.get_per('accounts'):
 
610
                                        gajim.config.set_per('accounts', account, opt, val)
 
611
                gajim.config.set('version', '0.12.1.2')
 
612
 
602
613
# vim: se ts=3: