summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-18 16:43:37 +0200
committerhut <hut@lavabit.com>2010-04-18 16:43:37 +0200
commit06fa4ce858d9dcf1fa878182c117ae70d6e252b4 (patch)
treefdb87ce29b842a0e316f657a82893e8e6e35ef2b /ranger
parent1c72dd08f2f7d551094cea2ccf5d824fe1aef1ca (diff)
downloadranger-06fa4ce858d9dcf1fa878182c117ae70d6e252b4.tar.gz
gui.displayable: always move when resizing
To fix bug #73 which re-emerged :S
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/displayable.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index a7a0945d..9ca72b13 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -72,7 +72,6 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 		self.hei = 0
 		self.paryx = (0, 0)
 		self.parent = None
-		self.fresh = True
 
 		self._old_visible = self.visible
 
@@ -155,7 +154,7 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 
 	def resize(self, y, x, hei=None, wid=None):
 		"""Resize the widget"""
-		do_move = self.fresh
+		do_move = True
 		try:
 			maxy, maxx = self.env.termsize
 		except TypeError:
@@ -213,7 +212,6 @@ class Displayable(EnvironmentAware, FileManagerAware, CursesShortcuts):
 			except:
 				pass
 
-			self.fresh = False
 			self.paryx = self.win.getparyx()
 			self.y, self.x = self.paryx
 			if self.parent: