@@ -15,6 +15,7 @@ import { ContextKeyExpr, IContextKey, IContextKeyService, RawContextKey } from '
15
15
import { IProductService } from 'vs/platform/product/common/productService' ;
16
16
import { Registry } from 'vs/platform/registry/common/platform' ;
17
17
import { registerColor } from 'vs/platform/theme/common/colorRegistry' ;
18
+ import { registerIcon } from 'vs/platform/theme/common/iconRegistry' ;
18
19
import { themeColorFromId } from 'vs/platform/theme/common/themeService' ;
19
20
import { IUserDataProfile , IUserDataProfilesService , PROFILES_ENABLEMENT_CONFIG } from 'vs/platform/userDataProfile/common/userDataProfile' ;
20
21
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace' ;
@@ -25,6 +26,8 @@ import { IUserDataProfileManagementService, IUserDataProfileService, ManageProfi
25
26
26
27
const CONTEXT_CURRENT_PROFILE = new RawContextKey < string > ( 'currentUserDataProfile' , '' ) ;
27
28
29
+ export const userDataProfilesIcon = registerIcon ( 'settingsProfiles-icon' , Codicon . settings , localize ( 'settingsProfilesIcon' , 'Icon for Settings Profiles.' ) ) ;
30
+
28
31
export class UserDataProfilesWorkbenchContribution extends Disposable implements IWorkbenchContribution {
29
32
30
33
private readonly currentProfileContext : IContextKey < string > ;
@@ -138,7 +141,7 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements
138
141
name : PROFILES_CATEGORY ,
139
142
command : 'workbench.profiles.actions.switchProfile' ,
140
143
ariaLabel : localize ( 'currentProfile' , "Current Settings Profile is {0}" , this . userDataProfileService . currentProfile . name ) ,
141
- text : `$(${ Codicon . multipleWindows . id } ) ${ this . userDataProfileService . currentProfile . name ! } ` ,
144
+ text : `$(${ userDataProfilesIcon . id } ) ${ this . userDataProfileService . currentProfile . name ! } ` ,
142
145
tooltip : localize ( 'profileTooltip' , "{0}: {1}" , PROFILES_CATEGORY , this . userDataProfileService . currentProfile . name ) ,
143
146
color : themeColorFromId ( STATUS_BAR_SETTINGS_PROFILE_FOREGROUND ) ,
144
147
backgroundColor : themeColorFromId ( STATUS_BAR_SETTINGS_PROFILE_BACKGROUND )
0 commit comments