git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't translate empty string
[enigma2.git]
/
lib
/
python
/
Screens
/
ServiceScan.py
diff --git
a/lib/python/Screens/ServiceScan.py
b/lib/python/Screens/ServiceScan.py
index 0c27237c7d6cf24148649985d07396a6b82e4cad..8d58aa125b3b956bc60910a75a7debfe17352625 100644
(file)
--- a/
lib/python/Screens/ServiceScan.py
+++ b/
lib/python/Screens/ServiceScan.py
@@
-11,14
+11,16
@@
class ServiceScan(Screen):
self.close()
def cancel(self):
self.close()
def cancel(self):
- print "cancel not yet implemented ;)"
+ self.close()
- def __init__(self, session):
+ def __init__(self, session
, transponders, feid, flags
):
Screen.__init__(self, session)
Screen.__init__(self, session)
+ self.session.nav.stopService()
+
self["scan_progress"] = ProgressBar()
self["scan_progress"] = ProgressBar()
- self["scan_state"] = Label(
"scan state"
)
- self["scan"] = CScan(self["scan_progress"], self["scan_state"])
+ self["scan_state"] = Label(
_("scan state")
)
+ self["scan"] = CScan(self["scan_progress"], self["scan_state"]
, transponders, feid, flags
)
self["actions"] = ActionMap(["OkCancelActions"],
{
self["actions"] = ActionMap(["OkCancelActions"],
{