def _get_preferences(self): if self.windowPreferences: return self.windowPreferences obj = vmmPreferences() self.windowPreferences = obj return self.windowPreferences
def _get_preferences(self): if self.windowPreferences: return self.windowPreferences obj = vmmPreferences() obj.connect("action-show-help", self._do_show_help) self.windowPreferences = obj return self.windowPreferences