[Pkg-bazaar-commits] ./bzr-gtk/unstable r64: Scroll to the appropriate cell when file selected

Aaron Bentley abentley at panoramicfeedback.com
Fri Apr 10 07:16:18 UTC 2009


------------------------------------------------------------
revno: 64
committer: Aaron Bentley <abentley at panoramicfeedback.com>
branch nick: bzr-gtk
timestamp: Mon 2006-06-19 14:28:49 -0400
message:
  Scroll to the appropriate cell when file selected
modified:
  viz/diffwin.py
-------------- next part --------------
=== modified file 'viz/diffwin.py'
--- a/viz/diffwin.py	2006-06-19 18:22:00 +0000
+++ b/viz/diffwin.py	2006-06-19 18:28:49 +0000
@@ -147,6 +147,7 @@
         if tv_path is None:
             raise NoSuchFile(file_path)
         self.treeview.set_cursor(tv_path)
+        self.treeview.scroll_to_cell(tv_path)
 
     def _treeview_cursor_cb(self, *args):
         """Callback for when the treeview cursor changes."""



More information about the Pkg-bazaar-commits mailing list