+ self["ErrorPixmap"] = Pixmap()
+ self["QuestionPixmap"] = Pixmap()
+
+ self.list = []
+ if type != self.TYPE_ERROR:
+ self.onShown.append(self["ErrorPixmap"].hideWidget)
+ elif type != self.TYPE_YESNO:
+ self.onShown.append(self["QuestionPixmap"].hideWidget)
+
+ if type == self.TYPE_YESNO:
+ self.list = [ (_("yes"), 0), (_("no"), 1) ]