@@ -771,7 +771,7 @@ export class UserDataProfilesEditorModel extends EditorModel {
771
771
772
772
const activateAction = disposables . add ( new Action (
773
773
'userDataProfile.activate' ,
774
- localize ( 'active' , "Use for Current Window" ) ,
774
+ localize ( 'active' , "Use this Profile for Current Window" ) ,
775
775
ThemeIcon . asClassName ( Codicon . check ) ,
776
776
true ,
777
777
( ) => this . userDataProfileManagementService . switchProfile ( profileElement . profile )
@@ -808,20 +808,10 @@ export class UserDataProfilesEditorModel extends EditorModel {
808
808
( ) => this . openWindow ( profileElement . profile )
809
809
) ) ;
810
810
811
- const useAsNewWindowProfileAction = disposables . add ( new Action (
812
- 'userDataProfile.useAsNewWindowProfile' ,
813
- localize ( 'use as new window' , "Use for New Windows" ) ,
814
- undefined ,
815
- true ,
816
- ( ) => profileElement . toggleNewWindowProfile ( )
817
- ) ) ;
818
-
819
811
const primaryActions : IAction [ ] = [ ] ;
820
812
primaryActions . push ( activateAction ) ;
821
813
primaryActions . push ( newWindowAction ) ;
822
814
const secondaryActions : IAction [ ] = [ ] ;
823
- secondaryActions . push ( useAsNewWindowProfileAction ) ;
824
- secondaryActions . push ( new Separator ( ) ) ;
825
815
secondaryActions . push ( copyFromProfileAction ) ;
826
816
secondaryActions . push ( exportAction ) ;
827
817
if ( ! profile . isDefault ) {
@@ -839,13 +829,6 @@ export class UserDataProfilesEditorModel extends EditorModel {
839
829
disposables . add ( this . userDataProfileService . onDidChangeCurrentProfile ( ( ) =>
840
830
activateAction . enabled = this . userDataProfileService . currentProfile . id !== profileElement . profile . id ) ) ;
841
831
842
- useAsNewWindowProfileAction . checked = profileElement . isNewWindowProfile ;
843
- disposables . add ( profileElement . onDidChange ( e => {
844
- if ( e . newWindowProfile ) {
845
- useAsNewWindowProfileAction . checked = profileElement . isNewWindowProfile ;
846
- }
847
- } ) ) ;
848
-
849
832
return [ profileElement , disposables ] ;
850
833
}
851
834
0 commit comments