def select(self, item, list_name=None): ret = Menu.select(self, item, list_name) if ret: louie_send('hide_preview', sender=self) if isinstance(self.selected, ProgramItem): self._program = self.selected else: self._program = None self.build_preview() return ret
def select(self, item, list_name=None, force_pos=False): if isinstance(item, basestring): item = self._HomeMenu__get_named(item) has_changed = Menu.select(self, item, list_name, force_pos) if has_changed is not False: louie_send('item_name', sender=self, action='update', value=omnicode(self['item_name'])) return has_changed
def select(self, item, list_name=None, force_pos=False): ret = Menu.select(self, item, list_name, force_pos) if ret and self.active_list != 'option1_list': self._browse_selected() return ret
def select(self, item, list_name=None, force_pos=False): try: Menu.select(self, item, list_name, force_pos) except BrowseError: self.hide() return None
def select(self, item, list_name='main_list'): Menu.select(self, item, list_name=list_name) return None