From b213bb856dbbe4761d8164863d1208f66dca315b Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Sun, 23 Mar 2008 20:02:12 +0000 Subject: [PATCH] Double-clicking when viewing non-cwd directories now works correctly. --- rox/shell/shell.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rox/shell/shell.py b/rox/shell/shell.py index 0bd3952..f49a744 100644 --- a/rox/shell/shell.py +++ b/rox/shell/shell.py @@ -713,14 +713,14 @@ class ShellView: def item_activated(self, iv, path): # Open a single item - self.reset() - tm = iv.get_model() row = tm[tm.get_iter(path)] name = row[DirModel.NAME] item_info = row[DirModel.INFO] - child = self.cwd.file.get_child(name) + child = self.view_dir.file.get_child(name) + + self.reset() self.open_item(child) def open_item(self, item_file): -- 2.11.4.GIT