summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-29 00:26:58 +0100
committerhut <hut@lavabit.com>2009-12-29 00:26:58 +0100
commite3e37e3f8cd737585799429e09159bc4dbf330c8 (patch)
tree27e4bc8ec428f3b3359076c78eb77cdd9ffc4c8b
parent3e092587bbcd5d8123a323884cb03b54747005e4 (diff)
downloadranger-e3e37e3f8cd737585799429e09159bc4dbf330c8.tar.gz
updated test
-rw-r--r--test/tc_displayable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_displayable.py b/test/tc_displayable.py
index 01be0c9c..3acf338b 100644
--- a/test/tc_displayable.py
+++ b/test/tc_displayable.py
@@ -27,8 +27,8 @@ class TestDisplayable(unittest.TestCase):
 		# Using a color method implies change of window attributes
 		disp = self.disp
 
-		self.win.chgat = raise_ok
-		self.win.attrset = raise_ok
+		disp.win.chgat = raise_ok
+		disp.win.attrset = raise_ok
 
 		self.assertRaises(OK, disp.color, 'a', 'b')
 		self.assertRaises(OK, disp.color_at, 0, 0, 0, 'a', 'b')
ode'>-rw-r--r--ranger/gui/widgets/browserview.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index 12e1d9bd..84f77de6 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -98,6 +98,11 @@ class BrowserView(Widget, DisplayableContainer):
 			self.win.erase()
 			self.need_redraw = True
 			self.need_clear = False
+		for path in self.fm.tabs.values():
+			if path is not None:
+				directory = self.env.get_directory(path)
+				directory.load_content_if_outdated()
+				directory.use()
 		DisplayableContainer.draw(self)
 		if self.settings.draw_borders:
 			self._draw_borders()