Commits

Anonymous committed c17f085

hggtk/history: center the linked changeset row

  • Participants
  • Parent commits 66f0d85

Comments (0)

Files changed (1)

File hggtk/history.py

         sel = self.tree.get_selection()
         sel.select_iter(iter)
         path = self.model.get_path(iter)
-        self.tree.scroll_to_cell(path)
+        self.tree.scroll_to_cell(path, use_align=True, row_align=0.5)
 
     def get_link_text(self, tag, widget, event, iter):
         """handle clicking on a link in a textview"""