/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/treeview.py

  • Committer: Curtis Hovey
  • Date: 2012-03-11 21:41:49 UTC
  • mfrom: (785 trunk)
  • mto: This revision was merged to the branch mainline in revision 788.
  • Revision ID: sinzui.is@verizon.net-20120311214149-5r8750zihn80nk2r
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        # from the key (that is the key is found in a REVNO at the offset 0)
355
355
        # or if a MESSAGE *contains* the key anywhere (that is, the key is
356
356
        # found case insensitively in a MESSAGE at any offset)
357
 
        def search_equal_func(model, column, key, iter, ignored):
 
357
        def search_equal_func(model, column, key, iter):
358
358
            return (model.get_value(iter, treemodel.REVNO).find(key) != 0
359
359
                and model.get_value(iter, treemodel.MESSAGE).lower().find(key.lower()) == -1)
360
360