UI: Use New Internet Icon #119409

Merged
Harley Acheson merged 1 commits from Harley/blender:InternetIconUsages into main 2024-03-13 02:39:44 +01:00
3 changed files with 3 additions and 3 deletions

View File

@ -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':

View File

@ -687,7 +687,7 @@ static void file_draw_preview(const FileList *files,
float icon_x, icon_y;
icon_x = xco + (2.0f * UI_SCALE_FAC);
icon_y = yco + (2.0f * UI_SCALE_FAC);
const int arrow = is_link ? ICON_LOOP_FORWARDS : ICON_URL;
const int arrow = is_link ? ICON_LOOP_FORWARDS : ICON_INTERNET;
if (!is_icon) {
/* At very bottom-left if preview style. */
const uchar dark[4] = {0, 0, 0, 255};

View File

@ -370,7 +370,7 @@ void fsmenu_read_system(FSMenu *fsmenu, int read_bookmarks)
FS_CATEGORY_SYSTEM_BOOKMARKS,
FOLDERID_SkyDrive,
N_("OneDrive"),
ICON_URL,
ICON_INTERNET,
FS_INSERT_LAST);
/* These items are just put in path cache for thumbnail views and if bookmarked. */