summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-04-24 21:15:22 +0200
committerhut <hut@lavabit.com>2013-04-24 21:15:22 +0200
commit05db678e26d6a3170026205bae8936133b84b1ef (patch)
tree7ec8b040131fc9c641f20bc0ea9c87af6d290421
parentf28d418a7e6e22b5f0661e30a8d0fceb22067661 (diff)
downloadranger-05db678e26d6a3170026205bae8936133b84b1ef.tar.gz
core.action: make pager_move work in log too (key W)
-rw-r--r--ranger/core/actions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 8bd6dd0f..0856c9f7 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -480,7 +480,10 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
     # --------------------------
 
     def pager_move(self, narg=None, **kw):
-        self.ui.browser.pager.move(narg=narg, **kw)
+        if self.ui.pager.visible:
+            self.ui.pager.move(narg=narg, **kw)
+        if self.ui.browser.pager.visible:
+            self.ui.browser.pager.move(narg=narg, **kw)
 
     def taskview_move(self, narg=None, **kw):
         self.ui.taskview.move(narg=narg, **kw)
='Blame the previous revision' href='/akspecs/ranger/blame/README?h=v1.9.0b5&id=b8d08418a72a71526a6dbac167e9588f5002610f'>^
240394a4 ^

712aa449
240394a4 ^

240394a4 ^
7dc8fef8 ^
9e89f023 ^
36e4e71e ^
20ab9343 ^

20ab9343 ^





4ea0f69a ^

240394a4 ^
7dc8fef8 ^
36e4e71e ^

4a383291 ^
78a7d762 ^
e952d6cb ^
78a7d762 ^
e952d6cb ^
4ea0f69a ^

7838675f ^

07069888 ^

07069888 ^
7838675f ^

1891697f ^
755e7df1 ^
7838675f ^
7dc8fef8 ^
500cf259 ^


7dc8fef8 ^



240394a4 ^



240394a4 ^
7dc8fef8 ^
240394a4 ^




7dc8fef8 ^
240394a4 ^



240394a4 ^

240394a4 ^
7dc8fef8 ^







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
84
85
86
87
88
89
90
91
92
93