/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 annotate/gannotate.py

  • Committer: Curtis Hovey
  • Date: 2011-08-13 00:28:44 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110813002844-rcb9kpcv2qfgus0b
Fixed search in diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
468
468
        image.set_from_stock('gtk-stop', Gtk.IconSize.BUTTON)
469
469
        button.set_image(image)
470
470
        button.set_relief(Gtk.ReliefStyle.NONE)
471
 
        button.connect("clicked", lambda w: self.hide_all())
 
471
        button.connect("clicked", lambda w: self.hide())
472
472
        self.pack_start(button, False, False, 0)
473
473
 
474
474
        # Search entry
593
593
        for row in iterate(model, start):
594
594
            if self._match(model, row, self._column):
595
595
                path = model.get_path(row)
596
 
                self._view.set_cursor(path)
 
596
                self._view.set_cursor(path, None, False)
597
597
                self._view.scroll_to_cell(path, use_align=True)
598
598
                break