summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-18 17:28:30 +0200
committerhut <hut@lavabit.com>2010-04-18 17:28:30 +0200
commitc7a36d0a281ddac8ea7a7e12924c751482234b1d (patch)
tree9c611414dfeb59c90c5dd7047d2d84efea2d250e /ranger
parent06fa4ce858d9dcf1fa878182c117ae70d6e252b4 (diff)
downloadranger-c7a36d0a281ddac8ea7a7e12924c751482234b1d.tar.gz
Rename context "general" to "browser" for less ambiguity
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/environment.py2
-rw-r--r--ranger/defaults/keys.py4
-rw-r--r--ranger/gui/ui.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/ranger/core/environment.py b/ranger/core/environment.py
index 49bc8a5c..6b2d692c 100644
--- a/ranger/core/environment.py
+++ b/ranger/core/environment.py
@@ -24,7 +24,7 @@ from ranger.container import KeyBuffer, KeyManager, History
 from ranger.ext.signal_dispatcher import SignalDispatcher
 from ranger.shared import SettingsAware
 
-ALLOWED_CONTEXTS = ('general', 'pager', 'embedded_pager', 'taskview',
+ALLOWED_CONTEXTS = ('browser', 'pager', 'embedded_pager', 'taskview',
 		'console')
 
 class Environment(SettingsAware, SignalDispatcher):
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index d22d8c50..593bfbbc 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -108,9 +108,9 @@ map.dir('<C-H>', alias='<backspace>')
 
 
 # ===================================================================
-# == Define keys in "general" context:
+# == Define keys in "browser" context:
 # ===================================================================
-map = keymanager['general']
+map = keymanager['browser']
 map.merge(global_keys)
 map.merge(vim_aliases)
 
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 983cffc8..3ac45ebe 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -57,7 +57,7 @@ class UI(DisplayableContainer):
 			self.fm = fm
 
 		self.win = curses.initscr()
-		self.env.keymanager.use_context('general')
+		self.env.keymanager.use_context('browser')
 		self.env.keybuffer.clear()
 
 		DisplayableContainer.__init__(self, None)
@@ -139,7 +139,7 @@ class UI(DisplayableContainer):
 		if DisplayableContainer.press(self, key):
 			return
 
-		self.env.keymanager.use_context('general')
+		self.env.keymanager.use_context('browser')
 		self.env.key_append(key)
 		kbuf = self.env.keybuffer
 		cmd = kbuf.command
-03-27 17:43:41 -0700 2812' href='/akkartik/mu/commit/html/999spaces.cc.html?h=main&id=a654e4ecace2d506d1b10f1dde2c287ebe84ef37'>a654e4ec ^
2187d42a ^


















762b099e ^


9542bb11 ^
2187d42a ^
f6b44306 ^



76755b28 ^

f6b44306 ^
76755b28 ^

db1f56c8 ^











4690ce81 ^
9e91a21e ^
db1f56c8 ^


db1f56c8 ^


9e91a21e ^


db1f56c8 ^



db1f56c8 ^
9e91a21e ^
db1f56c8 ^



9e91a21e ^

db1f56c8 ^
9e91a21e ^
4690ce81 ^
9e91a21e ^
4690ce81 ^
db1f56c8 ^














2187d42a ^


a654e4ec ^
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