about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 00:48:23 +0200
committerhut <hut@lavabit.com>2009-07-19 00:48:23 +0200
commit29fe5ed49c5f794416e070a624939b1d2925076f (patch)
tree44974da8068342d04863c1311284049f3394717e
parent8304d857333facb06aa574ac66da5ccd7761f630 (diff)
downloadranger-29fe5ed49c5f794416e070a624939b1d2925076f.tar.gz
bugfixes, todo
-rw-r--r--TODO1
-rw-r--r--code/directory.rb2
-rw-r--r--code/fm.rb5
3 files changed, 5 insertions, 3 deletions
diff --git a/TODO b/TODO
index f804f48c..4e4f2bd7 100644
--- a/TODO
+++ b/TODO
@@ -8,6 +8,7 @@ Required for next Release
                this could flush the text to ranger and result in unwanted actions
    (X) #14  09/07/18  Sorting sometimes doesn't work
    ( ) #0   09/07/17  the device is busy even if you're not on the device
+   ( ) #17  09/07/19  shell behaves strangely sometimes when run with s key
 
 
 Critical Issues
diff --git a/code/directory.rb b/code/directory.rb
index 6099d891..e7431399 100644
--- a/code/directory.rb
+++ b/code/directory.rb
@@ -198,7 +198,7 @@ class Directory
 		oldfile = @pointed_file
 		read_dir
 		get_file_info
-		sort_if_needed
+		sort
 
 		if @files.include? oldfile
 			self.pointed_file = oldfile
diff --git a/code/fm.rb b/code/fm.rb
index 168885d4..84cac712 100644
--- a/code/fm.rb
+++ b/code/fm.rb
@@ -71,7 +71,7 @@ module Fm
 
 	def refresh()
 		begin
-			@pwd.refresh
+			@pwd.refresh!
 			update_pointers
 			draw
 		rescue
@@ -240,7 +240,8 @@ module Fm
 
 	def update_pointers
 		@path.each_with_index do |p, i|
-			p.schedule
+			## is this line necessary?
+#			p.schedule
 			unless i == @path.size - 1
 				p.pointed_file = @path[i+1].path
 			end
ass='alt'>