def list_themes():

    unique_slug = []
    themes_list = []
    for theme_dir in settings.THEMES_DIRS:
        themes = ThemeStorage(location=theme_dir)
        directories, files = themes.listdir('./')

        new_list = []
        for t in directories:
            if t not in unique_slug:
                new_list.append({'slug': t, 'path': themes.path(t)})
                unique_slug.append(t)
        themes_list += new_list

    return themes_list
Event handler for when a tab is changed. Update the variable info
dataset/ETHPy150Open ionyse/ionyweb/ionyweb/loaders/manifest.py/list_themes--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QAxisListTabWidget.tabChangeEvent