def __init__(self, parent, parent_list, spacers=[10, 3]): self.guiutility = GUIUtility.getInstance() self.channellist_manager = parent_list.GetManager() self.channel_categories = ["All", "Popular", "New", "Updated", "Mine"] BaseFilter.__init__( self, parent, parent_list, ColumnsManager.getInstance( ).getColumns( ChannelListItem), spacers)
def __init__(self, parent, parent_list, spacers=[10, 3]): self.guiutility = GUIUtility.getInstance() self.slider_minmax = (0, 0) self.slider_positions = (0, 0) self.conversion_factor = 1048576.0 BaseFilter.__init__( self, parent, parent_list, ColumnsManager.getInstance( ).getColumns( LibraryListItem), spacers)