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

  • Committer: Curtis Hovey
  • Date: 2011-08-27 15:31:00 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110827153100-ofzge4s4u64bynxq
Always pass a Gtk.TreePath instead of an int or tuple.

Show diffs side-by-side

added added

removed removed

Lines of Context:
596
596
            # We have either made it to the end of the list, or nothing was
597
597
            # selected. Either way, select All Files, and jump to the global
598
598
            # commit message.
599
 
            self._treeview_files.set_cursor((0,), None, False)
 
599
            self._treeview_files.set_cursor(
 
600
                Gtk.TreePath(path=0), None, False)
600
601
            self._global_message_text_view.grab_focus()
601
602
        else:
602
603
            # Set the cursor to this entry, and jump to the per-file commit