def create_new_theme(self, name, item):
        if name == "":
            return
        
        if theme_manager.is_theme_exist(name):
            return

        new_theme = theme_manager.create_new_theme(name, item.theme)
        new_theme.set_editable(True)
        event_manager.emit("create-new-theme", new_theme)
 def create_new_theme(self, name, item):
     new_theme = theme_manager.create_new_theme(name, item.theme)
     self.add_themes([new_theme])