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

« back to all changes in this revision

Viewing changes to src/advanced.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:
267
267
                                self.model.append(parent, [name, value, type_])
268
268
 
269
269
        def visible_func(self, model, treeiter):
270
 
                search_string  = self.entry.get_text()
271
 
                return any(search_string in model[it][C_PREFNAME] for it in
272
 
                        tree_model_pre_order(model, treeiter) if model[it][C_TYPE] != '')
 
270
                search_string  = self.entry.get_text().lower()
 
271
                for it in tree_model_pre_order(model,treeiter): 
 
272
                        if model[it][C_TYPE] != '': 
 
273
                                opt_path = self.get_option_path(model, it) 
 
274
                                if len(opt_path) == 3: 
 
275
                                        desc = gajim.config.get_desc_per(opt_path[2], opt_path[1], 
 
276
                                                opt_path[0]) 
 
277
                                elif len(opt_path) == 1: 
 
278
                                        desc = gajim.config.get_desc(opt_path[0]) 
 
279
                                if search_string in model[it][C_PREFNAME] or (desc and \
 
280
                                search_string in desc.lower()):
 
281
                                        return True
 
282
                return False
273
283
 
274
284
        @rate_limit(3)
275
285
        def on_advanced_entry_changed(self, widget):