File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/Files.App/Data/Commands/Manager Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ public interface IModifiableCommandManager : IEnumerable<IRichCommand>
11
11
12
12
IRichCommand PasteItem { get ; }
13
13
IRichCommand DeleteItem { get ; }
14
+ IRichCommand OpenProperties { get ; }
14
15
}
15
16
}
Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT License. See the LICENSE.
3
3
4
4
using System . Collections . Frozen ;
5
- using System . Collections . Immutable ;
6
5
7
6
namespace Files . App . Data . Commands
8
7
{
@@ -17,6 +16,7 @@ internal sealed class ModifiableCommandManager : IModifiableCommandManager
17
16
public IRichCommand None => ModifiableCommands [ CommandCodes . None ] ;
18
17
public IRichCommand PasteItem => ModifiableCommands [ CommandCodes . PasteItem ] ;
19
18
public IRichCommand DeleteItem => ModifiableCommands [ CommandCodes . DeleteItem ] ;
19
+ public IRichCommand OpenProperties => ModifiableCommands [ CommandCodes . OpenProperties ] ;
20
20
21
21
public ModifiableCommandManager ( )
22
22
{
@@ -35,6 +35,9 @@ public ModifiableCommandManager()
35
35
[ CommandCodes . DeleteItem ] = new ModifiableCommand ( Commands . DeleteItem , new ( ) {
36
36
{ KeyModifiers . Shift , Commands . DeleteItemPermanently }
37
37
} ) ,
38
+ [ CommandCodes . OpenProperties ] = new ModifiableCommand ( Commands . OpenProperties , new ( ) {
39
+ { KeyModifiers . Shift , Commands . OpenClassicProperties }
40
+ } ) ,
38
41
} . ToFrozenDictionary ( ) ;
39
42
}
40
43
}
You can’t perform that action at this time.
0 commit comments