summary refs log tree commit diff stats
path: root/ranger/shared/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/shared/settings.py')
-rw-r--r--ranger/shared/settings.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py
index 9c005e29..55259218 100644
--- a/ranger/shared/settings.py
+++ b/ranger/shared/settings.py
@@ -63,10 +63,10 @@ class SettingObject(SignalDispatcher):
 			assert self._check_type(name, value)
 			kws = dict(setting=name, value=value,
 					previous=self._settings[name])
-			self.signal_bind('core.setting.'+name,
+			self.signal_bind('setopt.'+name,
 					self._raw_set_with_signal, priority=0.2)
-			self.signal_emit('core.setting', **kws)
-			self.signal_emit('core.setting.'+name, **kws)
+			self.signal_emit('setopt', **kws)
+			self.signal_emit('setopt.'+name, **kws)
 
 	def __getattr__(self, name):
 		assert name in ALLOWED_SETTINGS or name in self._settings, \
@@ -117,7 +117,7 @@ class SettingsAware(object):
 		settings = SettingObject()
 
 		from ranger.gui.colorscheme import _colorscheme_name_to_class
-		settings.signal_bind('core.setting.colorscheme',
+		settings.signal_bind('setopt.colorscheme',
 				_colorscheme_name_to_class, priority=1)
 
 		from ranger.defaults import options as default_options
t/tc_ext.py?h=v1.2.0&id=d906b0dd2d09ea5e4619dd644e281c1ec66779b5'>^
64649898 ^
5a087b16 ^

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