summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/gui/widgets/browsercolumn.py13
-rw-r--r--ranger/gui/widgets/browserview.py3
-rw-r--r--ranger/gui/widgets/statusbar.py3
3 files changed, 8 insertions, 11 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 8961f48f..13c8f510 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -256,11 +256,14 @@ class BrowserColumn(Pager):
 
             metakey = hash(repr(sorted(metadata.items()))) if metadata else 0
             key = (self.wid, selected_i == i, drawn.marked, self.main_column,
-                    drawn.path in copied, tagged_marker, drawn.infostring,
-                    drawn.vcspathstatus,
-                    drawn.vcs.remotestatus if drawn.is_directory and drawn.vcs and drawn.vcs.track and drawn.vcs.is_root else None,
-                    self.fm.do_cut,
-                    current_linemode.name, metakey)
+                   drawn.path in copied, tagged_marker, drawn.infostring,
+                   drawn.vcspathstatus,
+                   drawn.vcs.remotestatus \
+                   if drawn.is_directory and drawn.vcs \
+                   and drawn.vcs.is_root and drawn.vcs.track \
+                   else None,
+                   self.fm.do_cut,
+                   current_linemode.name, metakey)
 
             if key in drawn.display_data:
                 self.execute_curses_batch(line, drawn.display_data[key])
diff --git a/ranger/gui/widgets/browserview.py b/ranger/gui/widgets/browserview.py
index 56b9eba7..e9640208 100644
--- a/ranger/gui/widgets/browserview.py
+++ b/ranger/gui/widgets/browserview.py
@@ -21,7 +21,6 @@ class BrowserView(Widget, DisplayableContainer):
     old_collapse = False
     draw_hints = False
     draw_info = False
-    vcsthread = None
 
     def __init__(self, win, ratios, preview = True):
         DisplayableContainer.__init__(self, win)
@@ -92,8 +91,6 @@ class BrowserView(Widget, DisplayableContainer):
             self.need_redraw = True
             self.need_clear = False
         for tab in self.fm.tabs.values():
-            if tab == self.fm.thistab:
-                continue
             directory = tab.thisdir
             if directory:
                 directory.load_content_if_outdated()
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 538757fd..9783a7ad 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -93,9 +93,6 @@ class StatusBar(Widget):
             self.old_ctime = ctime
             self.need_redraw = True
 
-        if self.fm.thisdir.vcs and self.fm.thisdir.vcs.track:
-            self.need_redraw = True
-
         if self.need_redraw:
             self.need_redraw = False
 
<vc@akkartik.com> 2019-09-14 16:40:51 -0700 5656' href='/akkartik/mu/commit/kernel.soso/elf.c?h=main&id=67de9b02956419644f570f7e47ecd9940af024b3'>67de9b02 ^
46bb1d31 ^



67de9b02 ^
46bb1d31 ^









67de9b02 ^
46bb1d31 ^
67de9b02 ^
46bb1d31 ^










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