File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
136
136
137
137
return true ;
138
138
} ,
139
- IcoPath = "Images/user.png"
139
+ IcoPath = Constants . DifferentUserIconImagePath
140
140
} ) ;
141
141
}
142
142
@@ -148,6 +148,7 @@ private Result CreateOpenContainingFolderResult(SearchResult record)
148
148
return new Result
149
149
{
150
150
Title = "Open containing folder" ,
151
+ SubTitle = "Opens the location that contains the file or folder" ,
151
152
Action = _ =>
152
153
{
153
154
try
Original file line number Diff line number Diff line change 51
51
52
52
<None Include =" Images\folder.png" >
53
53
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
54
- </None >
54
+ </None >
55
+
56
+ <None Include =" Images\user.png" >
57
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
58
+ </None >
55
59
</ItemGroup >
56
60
57
61
<ItemGroup >
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ internal static class Constants
13
13
internal const string IndexImagePath = "Images\\ index.png" ;
14
14
internal const string ExcludeFromIndexImagePath = "Images\\ excludeindexpath.png" ;
15
15
internal const string ExplorerIconImagePath = "Images\\ explorer.png" ;
16
+ internal const string DifferentUserIconImagePath = "Images\\ user.png" ;
16
17
17
18
internal const string DefaultFolderSubtitleString = "Ctrl + Enter to open the directory" ;
18
19
Original file line number Diff line number Diff line change 1
- using Flow . Launcher . Plugin . Explorer . Search . DirectoryInfo ;
1
+ using Flow . Launcher . Plugin . Explorer . Search . DirectoryInfo ;
2
2
using Flow . Launcher . Plugin . Explorer . Search . FolderLinks ;
3
3
using Flow . Launcher . Plugin . Explorer . Search . WindowsIndex ;
4
4
using Flow . Launcher . Plugin . SharedCommands ;
@@ -117,7 +117,8 @@ private bool UseWindowsIndexForDirectorySearch(string locationPath)
117
117
return false ;
118
118
119
119
if ( settings . IndexSearchExcludedSubdirectoryPaths
120
- . Any ( x => FilesFolders . ReturnPreviousDirectoryIfIncompleteString ( locationPath ) . StartsWith ( x . Path ) ) )
120
+ . Any ( x => FilesFolders . ReturnPreviousDirectoryIfIncompleteString ( locationPath )
121
+ . StartsWith ( x . Path , StringComparison . OrdinalIgnoreCase ) ) )
121
122
return false ;
122
123
123
124
return indexSearch . PathIsIndexed ( locationPath ) ;
You can’t perform that action at this time.
0 commit comments