summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-28 18:47:39 +0100
committerhut <hut@lavabit.com>2009-12-28 18:47:39 +0100
commit52afd1f460e9bcc2259f10d0fa40cf3938059a58 (patch)
tree646c0475d6bb5de8b4e6c68f765b2bee7e0e6612
parent1a8d64f1cc272cc8109f0c1490366026b411669c (diff)
downloadranger-52afd1f460e9bcc2259f10d0fa40cf3938059a58.tar.gz
clean ups
-rw-r--r--ranger/gui/widgets/console.py3
-rw-r--r--ranger/gui/widgets/filelistcontainer.py1
-rw-r--r--ranger/gui/widgets/notify.py1
-rw-r--r--ranger/gui/widgets/pager.py5
-rw-r--r--ranger/gui/widgets/process_manager.py1
-rw-r--r--ranger/gui/widgets/statusbar.py1
-rw-r--r--ranger/gui/widgets/titlebar.py3
7 files changed, 1 insertions, 14 deletions
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index 9abc2f7c..2d3f9b4c 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -1,7 +1,7 @@
 """The Console widget implements a vim-like console for entering
 commands, searching and executing files."""
 from . import Widget
-from ranger import commands, log
+from ranger import commands
 from ranger.gui.widgets.console_mode import is_valid_mode, mode_to_class
 import curses
 from collections import deque
@@ -456,7 +456,6 @@ class QuickOpenConsole(ConsoleWithTab):
 	def _get_tab(self):
 		if ' ' not in self.line:
 			all_apps = self.fm.apps.all()
-			log(all_apps)
 			if all_apps:
 				return (app for app in all_apps if app.startswith(self.line))
 
diff --git a/ranger/gui/widgets/filelistcontainer.py b/ranger/gui/widgets/filelistcontainer.py
index 53cbf064..494a3e0f 100644
--- a/ranger/gui/widgets/filelistcontainer.py
+++ b/ranger/gui/widgets/filelistcontainer.py
@@ -3,7 +3,6 @@ from . import Widget
 from .filelist import FileList
 from .pager import Pager
 from ..displayable import DisplayableContainer
-from ranger import log
 
 class FileListContainer(Widget, DisplayableContainer):
 	ratios = None
diff --git a/ranger/gui/widgets/notify.py b/ranger/gui/widgets/notify.py
index 2dc56fb1..bb159ea7 100644
--- a/ranger/gui/widgets/notify.py
+++ b/ranger/gui/widgets/notify.py
@@ -3,7 +3,6 @@
 from . import Widget
 from time import time
 from collections import deque
-from ranger import log
 
 class Notify(Widget):
 	requested_height = 0
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index ffcd06c5..2b8d73a4 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -1,7 +1,6 @@
 """
 The pager displays text and allows you to scroll inside it.
 """
-from ranger import log
 from . import Widget
 from ranger.container.commandlist import CommandList
 from ranger.ext.move import move_between
@@ -54,14 +53,10 @@ class Pager(Widget):
 			i += relative
 
 		length = len(self.lines) - self.hei - 1
-		log('before: ' + str(length))
-
 		if i >= length:
 			self._get_line(i+self.hei)
 
 		length = len(self.lines) - self.hei - 1
-		log('after: ' + str(length))
-
 		if i >= length:
 			i = length
 
diff --git a/ranger/gui/widgets/process_manager.py b/ranger/gui/widgets/process_manager.py
index baf4f2ba..f0954a9e 100644
--- a/ranger/gui/widgets/process_manager.py
+++ b/ranger/gui/widgets/process_manager.py
@@ -6,7 +6,6 @@ import curses
 
 from . import Widget
 from ranger.ext.accumulator import Accumulator
-from ranger import log
 from ranger.container import CommandList
 from collections import deque
 
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 741e80fd..4cfbea7b 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -4,7 +4,6 @@ some additional info about the current directory on the right side.
 """
 
 from . import Widget
-from ranger import log
 from pwd import getpwuid
 from grp import getgrgid
 from os import getuid
diff --git a/ranger/gui/widgets/titlebar.py b/ranger/gui/widgets/titlebar.py
index 9e370b72..f3377d08 100644
--- a/ranger/gui/widgets/titlebar.py
+++ b/ranger/gui/widgets/titlebar.py
@@ -2,7 +2,6 @@
 information."""
 
 from . import Widget
-from ranger import log
 from math import floor
 
 class TitleBar(Widget):
@@ -126,9 +125,7 @@ class Bar(object):
 		rightsize = self.right.sumsize()
 		nonfixed_items = self.left.nonfixed_items()
 
-#		log(leftsize, fixedsize, nonfixed_items)
 		itemsize = int(float(wid - rightsize - fixedsize) / nonfixed_items) + 1
-#		log(itemsize)
 
 		for item in self.left:
 			if not item.fixed:
pan class='oid'>d3a9db3a ^
3d1c4216 ^
d3a9db3a ^
3d1c4216 ^
d3a9db3a ^
3d1c4216 ^
d3a9db3a ^


3d1c4216 ^

d3a9db3a ^

3d1c4216 ^
























d3a9db3a ^




3d1c4216 ^








d3a9db3a ^
d3a9db3a ^



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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210