Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/s/i/silva.core.contentlayout-3.0.5/src/silva/core/contentlayout/martiansupport.py   silva.core.contentlayout(Download)
 
        icon_name = "++resource++" + identifier
        icon_registry.register((self.icon_namespaces[key], name), icon_name)
 
 
    (('default', 'silva.core.contentlayout.models'), 'model.png')):
    icon_registry.register(
        category,
        '++static++/silva.core.contentlayout/' + icon)
 

src/s/i/silva.core.conf-3.0.3/src/silva/core/conf/utils.py   silva.core.conf(Download)
        icon = Icon("++resource++" + name)
 
    icon_registry.register(('meta_type', cls.meta_type), icon)
    cls.icon = icon.icon
 

src/p/r/Products.Silva-3.0.4/Products/Silva/tests/test_icon.py   Products.Silva(Download)
    def test_custom_icons(self):
        """Test registring icons with a custom namespace and looking
        them up.
        """
        registry.register(('test-silva', 'model'), '++custom++foo.png')
        registry.register(('test-silva', 'page'), '++custom++bar.jpeg')
        registry.register(('default', 'test-silva'), '++custom++empty.gif')