about summary refs log tree commit diff stats
path: root/ranger/core/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r--ranger/core/actions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index ad797bec..da4c480c 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -200,7 +200,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				tab_dir_path = self.fm.tabs[i]
 			except:
 				continue
-			tab_dir = self.fm.env.get_directory(tab_dir_path)
+			tab_dir = self.get_directory(tab_dir_path)
 			i = str(i)
 			macros[i + 'd'] = tab_dir_path
 			if tab_dir.get_selection():
@@ -226,7 +226,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 				found_current_tab = True
 		if found_current_tab and not next_tab_path:
 			next_tab_path = self.fm.tabs[first_tab]
-		next_tab = self.fm.env.get_directory(next_tab_path)
+		next_tab = self.get_directory(next_tab_path)
 
 		if next_tab:
 			macros['D'] = str(next_tab.path)
@@ -1035,7 +1035,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 			return
 
 		def refresh(_):
-			cwd = self.env.get_directory(original_path)
+			cwd = self.get_directory(original_path)
 			cwd.load_content()
 
 		cwd = self.env.cwd
cbc631c3a92833d'>4aa2003 ^
f421e1d ^
4aa2003 ^
3b4daca ^
4aa2003 ^

3b4daca ^
4aa2003 ^

3b4daca ^
f4235a1 ^

3b4daca ^
f4235a1 ^
4aa2003 ^



0fab1b4 ^
1326914 ^
3b4daca ^
a6ab7a2 ^

d441f8a ^
1326914 ^
d441f8a ^


1326914 ^
d441f8a ^


1326914 ^
d441f8a ^

3b4daca ^
1326914 ^
d441f8a ^

84875f3 ^



a6ab7a2 ^


e1c5a42 ^










a6ab7a2 ^












0fab1b4 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83