summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
da40b2a)
- fixed scan error handling when scan failed to start
+ 0: "error starting scanning",
1: "error while scanning",
2: "no resource manager",
3: "no channel list"
}
1: "error while scanning",
2: "no resource manager",
3: "no channel list"
}
def scanStatusChanged(self):
if self.state == self.Running:
self.progressbar.setValue(self.scan.getProgress())
def scanStatusChanged(self):
if self.state == self.Running:
self.progressbar.setValue(self.scan.getProgress())
def execBegin(self):
self.scan.statusChanged.get().append(self.scanStatusChanged)
self.state = self.Running
def execBegin(self):
self.scan.statusChanged.get().append(self.scanStatusChanged)
self.state = self.Running
+ err = self.scan.start()
+ if err:
def action(self, context, action):
print " ".join(("action -> ", context, action))
def action(self, context, action):
print " ".join(("action -> ", context, action))
+ if self.actions.has_key(action):
print "unknown action %s/%s! typo in keymap?" % (context, action)
class PerServiceDisplay(GUIComponent, VariableText):
print "unknown action %s/%s! typo in keymap?" % (context, action)
class PerServiceDisplay(GUIComponent, VariableText):
def stopEvent(self):
self.setText("");
def stopEvent(self):
self.setText("");