Rev 175: Fix a couple edge cases in the wt_browser.py that were causing issues in http://bazaar.launchpad.net/~jameinel/bzr-explorer/wt_model

John Arbash Meinel john at arbash-meinel.com
Tue Jul 7 23:37:46 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr-explorer/wt_model

------------------------------------------------------------
revno: 175
revision-id: john at arbash-meinel.com-20090707223742-48caj3t2uacieyc4
parent: john at arbash-meinel.com-20090707223713-7jhjrwerm5tf538r
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: wt_model
timestamp: Tue 2009-07-07 17:37:42 -0500
message:
  Fix a couple edge cases in the wt_browser.py that were causing issues
-------------- next part --------------
=== modified file 'lib/wt_browser.py'
--- a/lib/wt_browser.py	2009-07-07 22:25:37 +0000
+++ b/lib/wt_browser.py	2009-07-07 22:37:42 +0000
@@ -135,6 +135,7 @@
             self._action_callback("open", unicode(path))
 
     def do_current_changed(self, model_index, prev_model_index):
+        return
         model = model_index.model()
         fileinfo = model.fileInfo(model_index)
         self._edit_button.setEnabled(fileinfo and not fileinfo.isDir())
@@ -152,7 +153,6 @@
             # Show the tree
             self.stacked.setCurrentIndex(1)
             index = self.model.index(0, 0, None)
-            print index.row(), index.column(), index.internalPointer()
             self.view.setRootIndex(index)
         self._root = path
         self._selected_fileinfo = None



More information about the bazaar-commits mailing list