/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 diff.py

  • Committer: Curtis Hovey
  • Date: 2012-01-23 17:04:56 UTC
  • mto: This revision was merged to the branch mainline in revision 772.
  • Revision ID: sinzui.is@verizon.net-20120123170456-09ci0chsm91yjfea
Do not update diff_view when the treeview is being destroyed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
    def _treeview_cursor_cb(self, *args):
396
396
        """Callback for when the treeview cursor changes."""
397
397
        (path, col) = self.treeview.get_cursor()
 
398
        if path is None:
 
399
            return
398
400
        specific_files = [ self.model[path][1] ]
399
401
        if specific_files == [ None ]:
400
402
            return