def METHOD_NAME(self, custom_icons):
    if self.provider_inited:
        return
    for icon_id, path in self.provider.get_icons():
        try:
            custom_icons.load(icon_id, path, "IMAGE")
        except KeyError:
            pass