else:
assert(type == 0)
list.sort(key=lambda x: x[2])
+ self.l.invalidate()
self.moveToEventId(event_id)
def getSelectedEventId(self):
return x and x[1]
def moveToService(self,serviceref):
+ if not serviceref:
+ return
index = 0
refstr = serviceref.toString()
for x in self.list:
index += 1
def moveToEventId(self, eventId):
+ if not eventId:
+ return
index = 0
for x in self.list:
if x[1] == eventId: