UI: Use New Internet Icon
We recently added a new "Internet" icon, meant to represent internet services and protocols generally, in contrast with the existing "url" icon which can be seen as being http (web link) specifically. This PR just uses this icon for cloud storage uses and for remote extension repository. Pull Request: https://projects.blender.org/blender/blender/pulls/119409
This commit is contained in:
committed by
Harley Acheson
parent
42e7a720c9
commit
bc70b597fc
@@ -1597,7 +1597,7 @@ class USERPREF_UL_asset_libraries(UIList):
|
||||
class USERPREF_UL_extension_repos(UIList):
|
||||
def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index):
|
||||
repo = item
|
||||
icon = 'NETWORK_DRIVE' if repo.use_remote_path else 'DISK_DRIVE'
|
||||
icon = 'INTERNET' if repo.use_remote_path else 'DISK_DRIVE'
|
||||
if self.layout_type in {'DEFAULT', 'COMPACT'}:
|
||||
layout.prop(repo, "name", text="", icon=icon, emboss=False)
|
||||
elif self.layout_type == 'GRID':
|
||||
|
||||
Reference in New Issue
Block a user