diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-10-09 21:48:04 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-10-09 21:48:04 +0000 |
| commit | 0c40ad392824c8a5ee1e0efe7556e12f54d3ceed (patch) | |
| tree | 9f874d48967c4b153794bb3ad291e3dd45c21283 /lib/python/Plugins/SystemPlugins/Satfinder/plugin.py | |
| parent | c7d2c96f39fbb38e026ac336c2e338090ce7eb30 (diff) | |
| download | enigma2-0c40ad392824c8a5ee1e0efe7556e12f54d3ceed.tar.gz enigma2-0c40ad392824c8a5ee1e0efe7556e12f54d3ceed.zip | |
add optional addNotifier(initial_call=False)-support
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/Satfinder/plugin.py')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/Satfinder/plugin.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py index 06a0f3fb..b8f380d3 100644 --- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py @@ -175,13 +175,13 @@ class Satfinder(ScanSetup): self.updateSats() - self.tuning_type.addNotifier(self.retune) - self.tuning_sat.addNotifier(self.sat_changed) - self.scan_sat.frequency.addNotifier(self.retune) - self.scan_sat.inversion.addNotifier(self.retune) - self.scan_sat.symbolrate.addNotifier(self.retune) - self.scan_sat.polarization.addNotifier(self.retune) - self.scan_sat.fec.addNotifier(self.retune) + self.tuning_type.addNotifier(self.retune, initial_call = False) + self.tuning_sat.addNotifier(self.sat_changed, initial_call = False) + self.scan_sat.frequency.addNotifier(self.retune, initial_call = False) + self.scan_sat.inversion.addNotifier(self.retune, initial_call = False) + self.scan_sat.symbolrate.addNotifier(self.retune, initial_call = False) + self.scan_sat.polarization.addNotifier(self.retune, initial_call = False) + self.scan_sat.fec.addNotifier(self.retune, initial_call = False) def updateSats(self): orb_pos = self.tuning_sat.orbital_position @@ -215,7 +215,7 @@ class Satfinder(ScanSetup): fec = "FEC_None" list.append(str(x[1]) + "," + str(x[2]) + "," + pol + "," + fec) self.tuning_transponder = ConfigSelection(choices = list) - self.tuning_transponder.addNotifier(self.retune) + self.tuning_transponder.addNotifier(self.retune, initial_call = False) def keyGo(self): self.retune(self.tuning_type) |
