/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: 2011-07-31 16:50:29 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110731165029-9gixuqypi3lwapzm
Removed import_pygtk because gi does not impicitly call Main(). Inlined checks for gtk availablility.

Show diffs side-by-side

added added

removed removed

Lines of Context:
356
356
        self.treeview.set_search_equal_func(search_equal_func)
357
357
        self.treeview.set_enable_search(True)
358
358
 
359
 
        # Fix old PyGTK bug - by JAM
360
 
        set_tooltip = getattr(self.treeview, 'set_tooltip_column', None)
361
 
        if set_tooltip is not None:
362
 
            set_tooltip(treemodel.MESSAGE)
 
359
        set_tooltip(treemodel.MESSAGE)
363
360
 
364
361
        self._prev_cursor_path = None
365
362
        self.treeview.connect("cursor-changed",